#1F2B9C#1F2B9C
#1F2B9C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.180 H 269.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B9C |
|---|---|
| RGB | rgb(31, 43, 156) |
| HSL | hsl(234, 67%, 37%) |
| HSV | hsv(234, 80%, 61%) |
| CMYK | cmyk(80.1%, 72.4%, 0%, 38.8%) |
| CIE-LAB | lab(25.01, 37.00, -62.14) |
| CIE-LCH | lch(25.01, 72.32, 300.77°) |
| OKLab | oklab(36.88% -0.0016 -0.18) |
| OKLCH | oklch(36.88% 0.18 269.5) |
| XYZ | xyz(7.4276, 4.4185, 31.9074) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.01
Royal
#0C1793
ΔE00 4.82
Indigo Blue
#3A18B1
ΔE00 5.88
Cobalt Blue
#030AA7
ΔE00 6.32
Royal Blue (survey)
#0504AA
ΔE00 6.87
Ultramarine
#2000B1
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B9C #9C901F
analogous
#1F6A9C #1F2B9C #521F9C
triadic
#1F2B9C #9C1F2B #2B9C1F
tetradic
#1F2B9C #9C1F6A #9C901F #1F9C52
square
#1F2B9C #9C1F6A #9C901F #1F9C52
split-complementary
#1F2B9C #9C521F #6A9C1F
monochromatic
#0B0F36 #151D69 #1F2B9C #2939CF #5865DE
Accessibility & contrast
On white
11.15
#1F2B9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1F2B9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B9C
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B9C | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2b9c; /* rgb */ color: rgb(31, 43, 156); /* oklch */ color: oklch(36.9% 0.180 269.5);
Tailwind
colors: {
custom: {
50: '#7265ba',
500: '#1f2b9c',
950: '#000000',
},
}SCSS
$custom: #1f2b9c; $custom-light: #7265ba; $custom-dark: #000000;
JSON
{
"hex": "#1f2b9c",
"rgb": {
"r": 31,
"g": 43,
"b": 156
},
"hsl": {
"h": 234.24,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.36876,
"c": 0.17999,
"h": 269.5
},
"luminance": 0.04419
}Semantic roles & 50–950 ramp
primary
#1F2B9C
secondary
#C1B755
accent
#D93EEA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81