#1F2C9E#1F2C9E
#1F2C9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.181 H 269.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C9E |
|---|---|
| RGB | rgb(31, 44, 158) |
| HSL | hsl(234, 67%, 37%) |
| HSV | hsv(234, 80%, 62%) |
| CMYK | cmyk(80.4%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(25.44, 37.10, -62.64) |
| CIE-LCH | lch(25.44, 72.81, 300.64°) |
| OKLab | oklab(37.25% -0.0022 -0.1814) |
| OKLCH | oklch(37.25% 0.181 269.3) |
| XYZ | xyz(7.6352, 4.5604, 32.8190) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Royal
#0C1793
ΔE00 5.12
Indigo Blue
#3A18B1
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 6.49
Royal Blue (survey)
#0504AA
ΔE00 7.03
Blueberry
#464196
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C9E #9E911F
analogous
#1F6C9E #1F2C9E #511F9E
triadic
#1F2C9E #9E1F2C #2C9E1F
tetradic
#1F2C9E #9E1F6C #9E911F #1F9E51
square
#1F2C9E #9E1F6C #9E911F #1F9E51
split-complementary
#1F2C9E #9E511F #6C9E1F
monochromatic
#0B1038 #151E6B #1F2C9E #293AD1 #5967DE
Accessibility & contrast
On white
10.98
#1F2C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1F2C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C9E
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C9E | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f2c9e; /* rgb */ color: rgb(31, 44, 158); /* oklch */ color: oklch(37.3% 0.181 269.3);
Tailwind
colors: {
custom: {
50: '#7266bc',
500: '#1f2c9e',
950: '#000000',
},
}SCSS
$custom: #1f2c9e; $custom-light: #7266bc; $custom-dark: #000000;
JSON
{
"hex": "#1f2c9e",
"rgb": {
"r": 31,
"g": 44,
"b": 158
},
"hsl": {
"h": 233.858,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.37251,
"c": 0.18146,
"h": 269.3
},
"luminance": 0.04561
}Semantic roles & 50–950 ramp
primary
#1F2C9E
secondary
#C2B756
accent
#D83EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81