#1F2C76#1F2C76
#1F2C76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.127 H 270.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C76 |
|---|---|
| RGB | rgb(31, 44, 118) |
| HSL | hsl(231, 58%, 29%) |
| HSV | hsv(231, 74%, 46%) |
| CMYK | cmyk(73.7%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(21.58, 21.99, -44.04) |
| CIE-LCH | lch(21.58, 49.22, 296.54°) |
| OKLab | oklab(33.25% 0.0007 -0.127) |
| OKLCH | oklch(33.25% 0.127 270.3) |
| XYZ | xyz(4.7347, 3.4002, 17.5428) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.62
Marine
#042E60
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 7.63
Marine Blue
#01386A
ΔE00 7.70
Royal
#0C1793
ΔE00 7.85
Sapphire (survey)
#2138AB
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C76 #76691F
analogous
#1F5876 #1F2C76 #3E1F76
triadic
#1F2C76 #761F2C #2C761F
tetradic
#1F2C76 #761F58 #76691F #1F763E
square
#1F2C76 #761F58 #76691F #1F763E
split-complementary
#1F2C76 #763E1F #58761F
monochromatic
#060918 #121A46 #1F2C76 #2C3EA6 #4257CD
Accessibility & contrast
On white
12.50
#1F2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1F2C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C76
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C76 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2c76; /* rgb */ color: rgb(31, 44, 118); /* oklch */ color: oklch(33.3% 0.127 270.3);
Tailwind
colors: {
custom: {
50: '#68659e',
500: '#1f2c76',
950: '#000000',
},
}SCSS
$custom: #1f2c76; $custom-light: #68659e; $custom-dark: #000000;
JSON
{
"hex": "#1f2c76",
"rgb": {
"r": 31,
"g": 44,
"b": 118
},
"hsl": {
"h": 231.034,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.33253,
"c": 0.12705,
"h": 270.3
},
"luminance": 0.03401
}Semantic roles & 50–950 ramp
primary
#1F2C76
secondary
#AA9B47
accent
#CA46E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E