#1F2B88#1F2B88
#1F2B88 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.154 H 270.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B88 |
|---|---|
| RGB | rgb(31, 43, 136) |
| HSL | hsl(233, 63%, 33%) |
| HSV | hsv(233, 77%, 53%) |
| CMYK | cmyk(77.2%, 68.4%, 0%, 46.7%) |
| CIE-LAB | lab(22.99, 29.61, -53.11) |
| CIE-LCH | lch(22.99, 60.81, 299.14°) |
| OKLab | oklab(34.8% 0.0005 -0.1536) |
| OKLCH | oklch(34.8% 0.154 270.2) |
| XYZ | xyz(5.8714, 3.7960, 23.7110) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.46
Midnight Blue
#191970
ΔE00 5.63
Sapphire (survey)
#2138AB
ΔE00 5.86
Darkslateblue
#483D8B
ΔE00 7.24
Blueberry
#464196
ΔE00 7.51
Cobalt Blue
#030AA7
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B88 #887C1F
analogous
#1F5F88 #1F2B88 #481F88
triadic
#1F2B88 #881F2B #2B881F
tetradic
#1F2B88 #881F5F #887C1F #1F8848
square
#1F2B88 #881F5F #887C1F #1F8848
split-complementary
#1F2B88 #88481F #5F881F
monochromatic
#080B24 #141B56 #1F2B88 #2A3BBA #4B5BD6
Accessibility & contrast
On white
11.94
#1F2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1F2B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B88
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B88 | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f2b88; /* rgb */ color: rgb(31, 43, 136); /* oklch */ color: oklch(34.8% 0.154 270.2);
Tailwind
colors: {
custom: {
50: '#6d64ac',
500: '#1f2b88',
950: '#000000',
},
}SCSS
$custom: #1f2b88; $custom-light: #6d64ac; $custom-dark: #000000;
JSON
{
"hex": "#1f2b88",
"rgb": {
"r": 31,
"g": 43,
"b": 136
},
"hsl": {
"h": 233.143,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.348,
"c": 0.15365,
"h": 270.2
},
"luminance": 0.03797
}Semantic roles & 50–950 ramp
primary
#1F2B88
secondary
#B9AC4A
accent
#D342E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F