#1F1676#1F1676
#1F1676 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.153 H 275.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1676 |
|---|---|
| RGB | rgb(31, 22, 118) |
| HSL | hsl(246, 69%, 27%) |
| HSV | hsv(246, 81%, 46%) |
| CMYK | cmyk(73.7%, 81.4%, 0%, 53.7%) |
| CIE-LAB | lab(16.37, 36.13, -52.60) |
| CIE-LCH | lch(16.37, 63.81, 304.49°) |
| OKLab | oklab(29.49% 0.0152 -0.1521) |
| OKLCH | oklch(29.49% 0.153 275.7) |
| XYZ | xyz(4.1209, 2.1727, 17.3382) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.64
Dark Royal Blue
#02066F
ΔE00 3.62
Deep Blue
#040273
ΔE00 4.02
Darkblue (survey)
#030764
ΔE00 4.29
Royal
#0C1793
ΔE00 4.39
Navy
#000080
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1676 #6D7616
analogous
#163D76 #1F1676 #4F1676
triadic
#1F1676 #761F16 #16761F
tetradic
#1F1676 #76163D #6D7616 #16764F
square
#1F1676 #76163D #6D7616 #16764F
split-complementary
#1F1676 #764F16 #3D7616
monochromatic
#07051A #110C42 #1F1676 #2D20AA #3E2ED8
Accessibility & contrast
On white
14.64
#1F1676 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1F1676 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1676
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1676 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1676 | 1.00 | 14.64 | 1.43 | 14.64 |
| #FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1676; /* rgb */ color: rgb(31, 22, 118); /* oklch */ color: oklch(29.5% 0.153 275.7);
Tailwind
colors: {
custom: {
50: '#6a569f',
500: '#1f1676',
950: '#000000',
},
}SCSS
$custom: #1f1676; $custom-light: #6a569f; $custom-dark: #000000;
JSON
{
"hex": "#1f1676",
"rgb": {
"r": 31,
"g": 22,
"b": 118
},
"hsl": {
"h": 245.625,
"s": 68.571,
"l": 27.451
},
"oklch": {
"l": 0.2949,
"c": 0.15282,
"h": 275.7
},
"luminance": 0.02173
}Semantic roles & 50–950 ramp
primary
#1F1676
secondary
#A1AC3C
accent
#EB3CDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E