#1F2B97#1F2B97
#1F2B97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.174 H 269.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B97 |
|---|---|
| RGB | rgb(31, 43, 151) |
| HSL | hsl(234, 66%, 36%) |
| HSV | hsv(234, 79%, 59%) |
| CMYK | cmyk(79.5%, 71.5%, 0%, 40.8%) |
| CIE-LAB | lab(24.49, 35.19, -59.93) |
| CIE-LCH | lch(24.49, 69.50, 300.42°) |
| OKLab | oklab(36.35% -0.001 -0.1735) |
| OKLCH | oklch(36.35% 0.174 269.7) |
| XYZ | xyz(7.0130, 4.2526, 29.7234) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.36
Royal
#0C1793
ΔE00 4.78
Indigo Blue
#3A18B1
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.62
Midnight Blue
#191970
ΔE00 7.01
Royal Blue (survey)
#0504AA
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B97 #978B1F
analogous
#1F6797 #1F2B97 #4F1F97
triadic
#1F2B97 #971F2B #2B971F
tetradic
#1F2B97 #971F67 #978B1F #1F974F
square
#1F2B97 #971F67 #978B1F #1F974F
split-complementary
#1F2B97 #974F1F #67971F
monochromatic
#0A0E31 #151D64 #1F2B97 #2939CA #5462DC
Accessibility & contrast
On white
11.35
#1F2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1F2B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B97
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B97 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2b97; /* rgb */ color: rgb(31, 43, 151); /* oklch */ color: oklch(36.3% 0.174 269.7);
Tailwind
colors: {
custom: {
50: '#7065b7',
500: '#1f2b97',
950: '#000000',
},
}SCSS
$custom: #1f2b97; $custom-light: #7065b7; $custom-dark: #000000;
JSON
{
"hex": "#1f2b97",
"rgb": {
"r": 31,
"g": 43,
"b": 151
},
"hsl": {
"h": 234,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.36346,
"c": 0.17355,
"h": 269.7
},
"luminance": 0.04253
}Semantic roles & 50–950 ramp
primary
#1F2B97
secondary
#BFB552
accent
#D83FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80