#1F1679#1F1679
#1F1679 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.157 H 275.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1679 |
|---|---|
| RGB | rgb(31, 22, 121) |
| HSL | hsl(245, 69%, 28%) |
| HSV | hsv(245, 82%, 47%) |
| CMYK | cmyk(74.4%, 81.8%, 0%, 52.5%) |
| CIE-LAB | lab(16.72, 37.13, -53.93) |
| CIE-LCH | lch(16.72, 65.48, 304.55°) |
| OKLab | oklab(29.84% 0.0144 -0.1559) |
| OKLCH | oklch(29.84% 0.157 275.3) |
| XYZ | xyz(4.3020, 2.2452, 18.2921) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.00
Dark Royal Blue
#02066F
ΔE00 3.72
Royal
#0C1793
ΔE00 3.93
Deep Blue
#040273
ΔE00 4.02
Navy
#000080
ΔE00 4.20
Darkblue
#00008B
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1679 #707916
analogous
#163E79 #1F1679 #511679
triadic
#1F1679 #791F16 #16791F
tetradic
#1F1679 #79163E #707916 #167951
square
#1F1679 #79163E #707916 #167951
split-complementary
#1F1679 #795116 #3E7916
monochromatic
#07051A #120D45 #1F1679 #2C1FAD #3F30D9
Accessibility & contrast
On white
14.49
#1F1679 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1F1679 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1679
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1679 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1679 | 1.00 | 14.49 | 1.45 | 14.49 |
| #FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1679; /* rgb */ color: rgb(31, 22, 121); /* oklch */ color: oklch(29.8% 0.157 275.3);
Tailwind
colors: {
custom: {
50: '#6b56a1',
500: '#1f1679',
950: '#000000',
},
}SCSS
$custom: #1f1679; $custom-light: #6b56a1; $custom-dark: #000000;
JSON
{
"hex": "#1f1679",
"rgb": {
"r": 31,
"g": 22,
"b": 121
},
"hsl": {
"h": 245.455,
"s": 69.231,
"l": 28.039
},
"oklch": {
"l": 0.29844,
"c": 0.15661,
"h": 275.3
},
"luminance": 0.02246
}Semantic roles & 50–950 ramp
primary
#1F1679
secondary
#A4AE3D
accent
#EC3CDC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F