#1F2C88#1F2C88
#1F2C88 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.152 H 270.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C88 |
|---|---|
| RGB | rgb(31, 44, 136) |
| HSL | hsl(233, 63%, 33%) |
| HSV | hsv(233, 77%, 53%) |
| CMYK | cmyk(77.2%, 67.6%, 0%, 46.7%) |
| CIE-LAB | lab(23.24, 28.95, -52.70) |
| CIE-LCH | lch(23.24, 60.13, 298.78°) |
| OKLab | oklab(34.98% -0.0001 -0.1524) |
| OKLCH | oklch(34.98% 0.152 270) |
| XYZ | xyz(5.9082, 3.8696, 23.7233) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.73
Royal
#0C1793
ΔE00 5.76
Midnight Blue
#191970
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 7.11
Blueberry
#464196
ΔE00 7.33
Marine
#042E60
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C88 #887B1F
analogous
#1F6188 #1F2C88 #461F88
triadic
#1F2C88 #881F2C #2C881F
tetradic
#1F2C88 #881F61 #887B1F #1F8846
square
#1F2C88 #881F61 #887B1F #1F8846
split-complementary
#1F2C88 #88461F #61881F
monochromatic
#080C24 #141C56 #1F2C88 #2A3CBA #4B5DD6
Accessibility & contrast
On white
11.84
#1F2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1F2C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C88
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C88 | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f2c88; /* rgb */ color: rgb(31, 44, 136); /* oklch */ color: oklch(35.0% 0.152 270.0);
Tailwind
colors: {
custom: {
50: '#6c65ac',
500: '#1f2c88',
950: '#000000',
},
}SCSS
$custom: #1f2c88; $custom-light: #6c65ac; $custom-dark: #000000;
JSON
{
"hex": "#1f2c88",
"rgb": {
"r": 31,
"g": 44,
"b": 136
},
"hsl": {
"h": 232.571,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.34983,
"c": 0.15244,
"h": 270
},
"luminance": 0.0387
}Semantic roles & 50–950 ramp
primary
#1F2C88
secondary
#B9AB4A
accent
#D242E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F