#1F2C9A#1F2C9A
#1F2C9A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.176 H 269.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C9A |
|---|---|
| RGB | rgb(31, 44, 154) |
| HSL | hsl(234, 66%, 36%) |
| HSV | hsv(234, 80%, 60%) |
| CMYK | cmyk(79.9%, 71.4%, 0%, 39.6%) |
| CIE-LAB | lab(25.03, 35.65, -60.88) |
| CIE-LCH | lch(25.03, 70.55, 300.35°) |
| OKLab | oklab(36.83% -0.0018 -0.1763) |
| OKLCH | oklch(36.83% 0.176 269.4) |
| XYZ | xyz(7.2965, 4.4249, 31.0351) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Royal
#0C1793
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 6.29
Cobalt Blue
#030AA7
ΔE00 6.70
Blueberry
#464196
ΔE00 7.18
Royal Blue (survey)
#0504AA
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C9A #9A8D1F
analogous
#1F6A9A #1F2C9A #501F9A
triadic
#1F2C9A #9A1F2C #2C9A1F
tetradic
#1F2C9A #9A1F6A #9A8D1F #1F9A50
square
#1F2C9A #9A1F6A #9A8D1F #1F9A50
split-complementary
#1F2C9A #9A501F #6A9A1F
monochromatic
#0A0F34 #151D67 #1F2C9A #293BCD #5665DD
Accessibility & contrast
On white
11.14
#1F2C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F2C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C9A
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C9A | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2c9a; /* rgb */ color: rgb(31, 44, 154); /* oklch */ color: oklch(36.8% 0.176 269.4);
Tailwind
colors: {
custom: {
50: '#7165b9',
500: '#1f2c9a',
950: '#000000',
},
}SCSS
$custom: #1f2c9a; $custom-light: #7165b9; $custom-dark: #000000;
JSON
{
"hex": "#1f2c9a",
"rgb": {
"r": 31,
"g": 44,
"b": 154
},
"hsl": {
"h": 233.659,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.36828,
"c": 0.17634,
"h": 269.4
},
"luminance": 0.04426
}Semantic roles & 50–950 ramp
primary
#1F2C9A
secondary
#C1B554
accent
#D73EE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81