#1F2B9E#1F2B9E
#1F2B9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.183 H 269.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B9E |
|---|---|
| RGB | rgb(31, 43, 158) |
| HSL | hsl(234, 67%, 37%) |
| HSV | hsv(234, 80%, 62%) |
| CMYK | cmyk(80.4%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(25.22, 37.72, -63.01) |
| CIE-LCH | lch(25.22, 73.44, 300.91°) |
| OKLab | oklab(37.09% -0.0018 -0.1825) |
| OKLCH | oklch(37.09% 0.183 269.4) |
| XYZ | xyz(7.5984, 4.4868, 32.8067) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.89
Royal
#0C1793
ΔE00 4.87
Indigo Blue
#3A18B1
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 6.23
Royal Blue (survey)
#0504AA
ΔE00 6.77
Ultramarine
#2000B1
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B9E #9E921F
analogous
#1F6A9E #1F2B9E #531F9E
triadic
#1F2B9E #9E1F2B #2B9E1F
tetradic
#1F2B9E #9E1F6A #9E921F #1F9E53
square
#1F2B9E #9E1F6A #9E921F #1F9E53
split-complementary
#1F2B9E #9E531F #6A9E1F
monochromatic
#0B0F38 #151D6B #1F2B9E #2939D1 #5966DE
Accessibility & contrast
On white
11.07
#1F2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1F2B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B9E
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B9E | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f2b9e; /* rgb */ color: rgb(31, 43, 158); /* oklch */ color: oklch(37.1% 0.183 269.4);
Tailwind
colors: {
custom: {
50: '#7265bc',
500: '#1f2b9e',
950: '#000000',
},
}SCSS
$custom: #1f2b9e; $custom-light: #7265bc; $custom-dark: #000000;
JSON
{
"hex": "#1f2b9e",
"rgb": {
"r": 31,
"g": 43,
"b": 158
},
"hsl": {
"h": 234.331,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.3709,
"c": 0.18254,
"h": 269.4
},
"luminance": 0.04488
}Semantic roles & 50–950 ramp
primary
#1F2B9E
secondary
#C2B856
accent
#DA3EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81