#1C31A9#1C31A9
#1C31A9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.191 H 267.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1C31A9 |
|---|---|
| RGB | rgb(28, 49, 169) |
| HSL | hsl(231, 72%, 39%) |
| HSV | hsv(231, 83%, 66%) |
| CMYK | cmyk(83.4%, 71%, 0%, 33.7%) |
| CIE-LAB | lab(27.59, 37.75, -65.77) |
| CIE-LCH | lch(27.59, 75.83, 299.86°) |
| OKLab | oklab(39.11% -0.0081 -0.1906) |
| OKLCH | oklch(39.11% 0.191 267.6) |
| XYZ | xyz(8.7361, 5.3070, 38.0923) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.96
Blue Blue
#2242C7
ΔE00 6.05
Indigo Blue
#3A18B1
ΔE00 6.38
Royal
#0C1793
ΔE00 6.80
Blueberry
#464196
ΔE00 6.89
Ocean Blue
#4F42B5
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C31A9 #A9941C
analogous
#1C77A9 #1C31A9 #4D1CA9
triadic
#1C31A9 #A91C31 #31A91C
tetradic
#1C31A9 #A91C77 #A9941C #1CA94D
square
#1C31A9 #A91C77 #A9941C #1CA94D
split-complementary
#1C31A9 #A94D1C #77A91C
monochromatic
#0B1340 #132274 #1C31A9 #2742DB #5B70E4
Accessibility & contrast
On white
10.19
#1C31A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#1C31A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C31A9
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C31A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C31A9 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1c31a9; /* rgb */ color: rgb(28, 49, 169); /* oklch */ color: oklch(39.1% 0.191 267.6);
Tailwind
colors: {
custom: {
50: '#7469c4',
500: '#1c31a9',
950: '#000000',
},
}SCSS
$custom: #1c31a9; $custom-light: #7469c4; $custom-dark: #000000;
JSON
{
"hex": "#1c31a9",
"rgb": {
"r": 28,
"g": 49,
"b": 169
},
"hsl": {
"h": 231.064,
"s": 71.574,
"l": 38.627
},
"oklch": {
"l": 0.39105,
"c": 0.19078,
"h": 267.6
},
"luminance": 0.05308
}Semantic roles & 50–950 ramp
primary
#1C31A9
secondary
#C8B759
accent
#D339EE
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82