#1F1674#1F1674
#1F1674 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.150 H 276.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1674 |
|---|---|
| RGB | rgb(31, 22, 116) |
| HSL | hsl(246, 68%, 27%) |
| HSV | hsv(246, 81%, 45%) |
| CMYK | cmyk(73.3%, 81%, 0%, 54.5%) |
| CIE-LAB | lab(16.13, 35.46, -51.69) |
| CIE-LCH | lch(16.13, 62.69, 304.45°) |
| OKLab | oklab(29.26% 0.0157 -0.1494) |
| OKLCH | oklch(29.26% 0.15 276) |
| XYZ | xyz(4.0033, 2.1257, 16.7189) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.44
Dark Royal Blue
#02066F
ΔE00 3.59
Deep Blue
#040273
ΔE00 4.05
Darkblue (survey)
#030764
ΔE00 4.13
Navy
#000080
ΔE00 4.57
Royal
#0C1793
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1674 #6B7416
analogous
#163C74 #1F1674 #4E1674
triadic
#1F1674 #741F16 #16741F
tetradic
#1F1674 #74163C #6B7416 #16744E
square
#1F1674 #74163C #6B7416 #16744E
split-complementary
#1F1674 #744E16 #3C7416
monochromatic
#07051A #110C41 #1F1674 #2D20A7 #3D2DD7
Accessibility & contrast
On white
14.73
#1F1674 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1F1674 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1674
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1674 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1674 | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1f1674; /* rgb */ color: rgb(31, 22, 116); /* oklch */ color: oklch(29.3% 0.150 276.0);
Tailwind
colors: {
custom: {
50: '#69569d',
500: '#1f1674',
950: '#000000',
},
}SCSS
$custom: #1f1674; $custom-light: #69569d; $custom-dark: #000000;
JSON
{
"hex": "#1f1674",
"rgb": {
"r": 31,
"g": 22,
"b": 116
},
"hsl": {
"h": 245.745,
"s": 68.116,
"l": 27.059
},
"oklch": {
"l": 0.29257,
"c": 0.15026,
"h": 276
},
"luminance": 0.02126
}Semantic roles & 50–950 ramp
primary
#1F1674
secondary
#9FAA3C
accent
#EB3DDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E