#001F68 color
The hex color #001F68 is a dark, vivid blue.
In the RGB color model it is made of 0% red, 12.2% green and 40.8% blue (0, 31, 104).
Its hue angle is 222°, with 100% saturation and 20% lightness. For print, the CMYK equivalent is 100% cyan, 70% magenta, 0% yellow and 59% black.
The closest named color is Midnight Melancholia (#002266), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.04:1).
#001F68 color codes
| HEX | #001F68 | |
|---|---|---|
| RGB | rgb(0, 31, 104) | |
| RGB percent | rgb(0%, 12.2%, 40.8%) | |
| HSL | hsl(222, 100%, 20%) | |
| HSV / HSB | hsv(222, 100%, 41%) | |
| CMYK | cmyk(100%, 70%, 0%, 59%) | |
| CIE LAB | lab(15.38, 22.55, -45.18) | |
| CIE LCH | lch(15.38, 50.5, 296.53) | |
| CIE XYZ | xyz(2.988, 1.979, 13.319) | |
| Decimal | 8040 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #001F68, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #001F68 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 15.04:1 | Pass | Pass | Pass |
| #001F68 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.04:1 | Pass | Pass | Pass |
| Sample text | 1.4:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #001F68 looks to people with the most common types of color vision deficiency.
#002b6aProtanopia
no red cones#002267Deuteranopia
no green cones#003340Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #001f68; }
.text { color: #001f68; }
.border { border: 2px solid #001f68; }
.transparent { background-color: rgb(0 31 104 / 50%); }
.gradient { background: linear-gradient(to right, #001f68, #150068); }
Similar colors
#002266Midnight Melancholia#002366Deep Sea Nightmare#082567Dark Sapphire#112473Midnight Crest#002277Long-Haul Flight#052462Black Sea Night#222266Intergalactic Cowboy#112358Fibonacci Blue
Closest common color name: Midnight Blue.
Questions
- What color is #001F68?
- #001F68 is a dark, vivid blue, closest to the named color Midnight Melancholia. It belongs to the blue family of colors.
- What is the RGB value of #001F68?
- The RGB value is 0, 31, 104: 0 red, 31 green and 104 blue on a 0 to 255 scale.
- What is the complementary color of #001F68?
- The complementary color is #684900, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001F68?
- White text. Black text has a contrast ratio of 1.4:1 and white text 15.04:1. WCAG asks for at least 4.5:1 for normal text.