#1F2176#1F2176
#1F2176 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.141 H 273.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2176 |
|---|---|
| RGB | rgb(31, 33, 118) |
| HSL | hsl(239, 58%, 29%) |
| HSV | hsv(239, 74%, 46%) |
| CMYK | cmyk(73.7%, 72%, 0%, 53.7%) |
| CIE-LAB | lab(18.74, 29.48, -48.68) |
| CIE-LCH | lch(18.74, 56.91, 301.20°) |
| OKLab | oklab(31.18% 0.0089 -0.1407) |
| OKLCH | oklch(31.18% 0.141 273.6) |
| XYZ | xyz(4.3779, 2.6866, 17.4239) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.17
Royal
#0C1793
ΔE00 5.32
Dark Royal Blue
#02066F
ΔE00 6.18
Darkblue (survey)
#030764
ΔE00 6.44
Deep Blue
#040273
ΔE00 6.77
Navy
#000080
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2176 #76741F
analogous
#1F4D76 #1F2176 #491F76
triadic
#1F2176 #761F21 #21761F
tetradic
#1F2176 #761F4D #76741F #1F7649
square
#1F2176 #761F4D #76741F #1F7649
split-complementary
#1F2176 #76491F #4D761F
monochromatic
#060718 #121346 #1F2176 #2C2FA6 #4245CD
Accessibility & contrast
On white
13.66
#1F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1F2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2176
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2176 | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f2176; /* rgb */ color: rgb(31, 33, 118); /* oklch */ color: oklch(31.2% 0.141 273.6);
Tailwind
colors: {
custom: {
50: '#695d9e',
500: '#1f2176',
950: '#000000',
},
}SCSS
$custom: #1f2176; $custom-light: #695d9e; $custom-dark: #000000;
JSON
{
"hex": "#1f2176",
"rgb": {
"r": 31,
"g": 33,
"b": 118
},
"hsl": {
"h": 238.621,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.31177,
"c": 0.14101,
"h": 273.6
},
"luminance": 0.02687
}Semantic roles & 50–950 ramp
primary
#1F2176
secondary
#AAA747
accent
#DE46E2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E