#1F2B74#1F2B74
#1F2B74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.125 H 270.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B74 |
|---|---|
| RGB | rgb(31, 43, 116) |
| HSL | hsl(232, 58%, 29%) |
| HSV | hsv(232, 73%, 45%) |
| CMYK | cmyk(73.3%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(21.13, 21.91, -43.49) |
| CIE-LCH | lch(21.13, 48.69, 296.74°) |
| OKLab | oklab(32.87% 0.0015 -0.1255) |
| OKLCH | oklch(32.87% 0.125 270.7) |
| XYZ | xyz(4.5803, 3.2796, 16.9112) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.37
Marine
#042E60
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 7.83
Royal
#0C1793
ΔE00 7.87
Marine Blue
#01386A
ΔE00 7.88
Navy Blue
#1B2A4A
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B74 #74681F
analogous
#1F5674 #1F2B74 #3E1F74
triadic
#1F2B74 #741F2B #2B741F
tetradic
#1F2B74 #741F56 #74681F #1F743E
square
#1F2B74 #741F56 #74681F #1F743E
split-complementary
#1F2B74 #743E1F #56741F
monochromatic
#060918 #121944 #1F2B74 #2C3DA4 #4155CC
Accessibility & contrast
On white
12.68
#1F2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1F2B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B74
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B74 | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2b74; /* rgb */ color: rgb(31, 43, 116); /* oklch */ color: oklch(32.9% 0.125 270.7);
Tailwind
colors: {
custom: {
50: '#67649d',
500: '#1f2b74',
950: '#000000',
},
}SCSS
$custom: #1f2b74; $custom-light: #67649d; $custom-dark: #000000;
JSON
{
"hex": "#1f2b74",
"rgb": {
"r": 31,
"g": 43,
"b": 116
},
"hsl": {
"h": 231.529,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.32865,
"c": 0.12547,
"h": 270.7
},
"luminance": 0.0328
}Semantic roles & 50–950 ramp
primary
#1F2B74
secondary
#A89A47
accent
#CB47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E