#1F2D76#1F2D76
#1F2D76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.126 H 269.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D76 |
|---|---|
| RGB | rgb(31, 45, 118) |
| HSL | hsl(230, 58%, 29%) |
| HSV | hsv(230, 74%, 46%) |
| CMYK | cmyk(73.7%, 61.9%, 0%, 53.7%) |
| CIE-LAB | lab(21.86, 21.29, -43.59) |
| CIE-LCH | lch(21.86, 48.51, 296.03°) |
| OKLab | oklab(33.46% -0.0002 -0.1257) |
| OKLCH | oklch(33.46% 0.126 269.9) |
| XYZ | xyz(4.7724, 3.4756, 17.5554) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.72
Midnight Blue
#191970
ΔE00 5.97
Marine Blue
#01386A
ΔE00 7.39
Darkslateblue
#483D8B
ΔE00 7.57
Royal
#0C1793
ΔE00 8.13
Sapphire (survey)
#2138AB
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D76 #76681F
analogous
#1F5976 #1F2D76 #3D1F76
triadic
#1F2D76 #761F2D #2D761F
tetradic
#1F2D76 #761F59 #76681F #1F763D
square
#1F2D76 #761F59 #76681F #1F763D
split-complementary
#1F2D76 #763D1F #59761F
monochromatic
#060918 #121B46 #1F2D76 #2C3FA6 #4258CD
Accessibility & contrast
On white
12.39
#1F2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1F2D76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D76
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D76 | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2d76; /* rgb */ color: rgb(31, 45, 118); /* oklch */ color: oklch(33.5% 0.126 269.9);
Tailwind
colors: {
custom: {
50: '#68659e',
500: '#1f2d76',
950: '#000000',
},
}SCSS
$custom: #1f2d76; $custom-light: #68659e; $custom-dark: #000000;
JSON
{
"hex": "#1f2d76",
"rgb": {
"r": 31,
"g": 45,
"b": 118
},
"hsl": {
"h": 230.345,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.33458,
"c": 0.12572,
"h": 269.9
},
"luminance": 0.03476
}Semantic roles & 50–950 ramp
primary
#1F2D76
secondary
#AA9A47
accent
#C946E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E