#1F2B76#1F2B76
#1F2B76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.128 H 270.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B76 |
|---|---|
| RGB | rgb(31, 43, 118) |
| HSL | hsl(232, 58%, 29%) |
| HSV | hsv(232, 74%, 46%) |
| CMYK | cmyk(73.7%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(21.31, 22.69, -44.48) |
| CIE-LCH | lch(21.31, 49.93, 297.03°) |
| OKLab | oklab(33.05% 0.0015 -0.1284) |
| OKLCH | oklch(33.05% 0.128 270.7) |
| XYZ | xyz(4.6979, 3.3266, 17.5305) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.28
Marine
#042E60
ΔE00 6.18
Royal
#0C1793
ΔE00 7.57
Darkslateblue
#483D8B
ΔE00 7.71
Marine Blue
#01386A
ΔE00 8.00
Sapphire (survey)
#2138AB
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B76 #766A1F
analogous
#1F5776 #1F2B76 #3F1F76
triadic
#1F2B76 #761F2B #2B761F
tetradic
#1F2B76 #761F57 #766A1F #1F763F
square
#1F2B76 #761F57 #766A1F #1F763F
split-complementary
#1F2B76 #763F1F #57761F
monochromatic
#060918 #121946 #1F2B76 #2C3DA6 #4255CD
Accessibility & contrast
On white
12.61
#1F2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1F2B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B76
12.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B76 | 1.00 | 12.61 | 1.67 | 12.61 |
| #FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2b76; /* rgb */ color: rgb(31, 43, 118); /* oklch */ color: oklch(33.1% 0.128 270.7);
Tailwind
colors: {
custom: {
50: '#68649e',
500: '#1f2b76',
950: '#000000',
},
}SCSS
$custom: #1f2b76; $custom-light: #68649e; $custom-dark: #000000;
JSON
{
"hex": "#1f2b76",
"rgb": {
"r": 31,
"g": 43,
"b": 118
},
"hsl": {
"h": 231.724,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.33051,
"c": 0.12838,
"h": 270.7
},
"luminance": 0.03327
}Semantic roles & 50–950 ramp
primary
#1F2B76
secondary
#AA9C47
accent
#CC46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E