#1F2B89#1F2B89
#1F2B89 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.155 H 270.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B89 |
|---|---|
| RGB | rgb(31, 43, 137) |
| HSL | hsl(233, 63%, 33%) |
| HSV | hsv(233, 77%, 54%) |
| CMYK | cmyk(77.4%, 68.6%, 0%, 46.3%) |
| CIE-LAB | lab(23.08, 29.99, -53.57) |
| CIE-LCH | lch(23.08, 61.40, 299.24°) |
| OKLab | oklab(34.9% 0.0004 -0.155) |
| OKLCH | oklch(34.9% 0.155 270.2) |
| XYZ | xyz(5.9428, 3.8246, 24.0871) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.38
Midnight Blue
#191970
ΔE00 5.70
Sapphire (survey)
#2138AB
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 7.24
Blueberry
#464196
ΔE00 7.48
Cobalt Blue
#030AA7
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B89 #897D1F
analogous
#1F6089 #1F2B89 #481F89
triadic
#1F2B89 #891F2B #2B891F
tetradic
#1F2B89 #891F60 #897D1F #1F8948
square
#1F2B89 #891F60 #897D1F #1F8948
split-complementary
#1F2B89 #89481F #60891F
monochromatic
#080C25 #141B57 #1F2B89 #2A3BBB #4C5CD6
Accessibility & contrast
On white
11.90
#1F2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1F2B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B89
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B89 | 1.00 | 11.90 | 1.77 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f2b89; /* rgb */ color: rgb(31, 43, 137); /* oklch */ color: oklch(34.9% 0.155 270.2);
Tailwind
colors: {
custom: {
50: '#6d64ac',
500: '#1f2b89',
950: '#000000',
},
}SCSS
$custom: #1f2b89; $custom-light: #6d64ac; $custom-dark: #000000;
JSON
{
"hex": "#1f2b89",
"rgb": {
"r": 31,
"g": 43,
"b": 137
},
"hsl": {
"h": 233.208,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.34901,
"c": 0.15501,
"h": 270.2
},
"luminance": 0.03825
}Semantic roles & 50–950 ramp
primary
#1F2B89
secondary
#B9AD4B
accent
#D442E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F