#1F1774#1F1774
#1F1774 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.149 H 275.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1774 |
|---|---|
| RGB | rgb(31, 23, 116) |
| HSL | hsl(245, 67%, 27%) |
| HSV | hsv(245, 80%, 45%) |
| CMYK | cmyk(73.3%, 80.2%, 0%, 54.5%) |
| CIE-LAB | lab(16.33, 34.90, -51.37) |
| CIE-LCH | lch(16.33, 62.10, 304.19°) |
| OKLab | oklab(29.39% 0.0152 -0.1485) |
| OKLCH | oklch(29.39% 0.149 275.8) |
| XYZ | xyz(4.0228, 2.1647, 16.7254) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.26
Dark Royal Blue
#02066F
ΔE00 3.78
Deep Blue
#040273
ΔE00 4.27
Darkblue (survey)
#030764
ΔE00 4.28
Royal
#0C1793
ΔE00 4.72
Navy
#000080
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1774 #6C7417
analogous
#173E74 #1F1774 #4D1774
triadic
#1F1774 #741F17 #17741F
tetradic
#1F1774 #74173E #6C7417 #17744D
square
#1F1774 #74173E #6C7417 #17744D
split-complementary
#1F1774 #744D17 #3E7417
monochromatic
#07051A #110D41 #1F1774 #2D21A7 #3E30D6
Accessibility & contrast
On white
14.65
#1F1774 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1F1774 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1774
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1774 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1774 | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1f1774; /* rgb */ color: rgb(31, 23, 116); /* oklch */ color: oklch(29.4% 0.149 275.8);
Tailwind
colors: {
custom: {
50: '#69569d',
500: '#1f1774',
950: '#000000',
},
}SCSS
$custom: #1f1774; $custom-light: #69569d; $custom-dark: #000000;
JSON
{
"hex": "#1f1774",
"rgb": {
"r": 31,
"g": 23,
"b": 116
},
"hsl": {
"h": 245.161,
"s": 66.906,
"l": 27.255
},
"oklch": {
"l": 0.29393,
"c": 0.1493,
"h": 275.8
},
"luminance": 0.02165
}Semantic roles & 50–950 ramp
primary
#1F1774
secondary
#A0A93D
accent
#EA3EDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E