#1C217D#1C217D
#1C217D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.151 H 271.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1C217D |
|---|---|
| RGB | rgb(28, 33, 125) |
| HSL | hsl(237, 63%, 30%) |
| HSV | hsv(237, 78%, 49%) |
| CMYK | cmyk(77.6%, 73.6%, 0%, 51%) |
| CIE-LAB | lab(19.29, 31.73, -52.26) |
| CIE-LCH | lch(19.29, 61.14, 301.26°) |
| OKLab | oklab(31.74% 0.0042 -0.1513) |
| OKLCH | oklch(31.74% 0.151 271.6) |
| XYZ | xyz(4.7232, 2.8148, 19.6924) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.66
Royal
#0C1793
ΔE00 4.26
Dark Royal Blue
#02066F
ΔE00 6.17
Deep Blue
#040273
ΔE00 6.63
Navy
#000080
ΔE00 6.64
Darkblue
#00008B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C217D #7D781C
analogous
#1C527D #1C217D #471C7D
triadic
#1C217D #7D1C21 #217D1C
tetradic
#1C217D #7D1C52 #7D781C #1C7D47
square
#1C217D #7D1C52 #7D781C #1C7D47
split-complementary
#1C217D #7D471C #527D1C
monochromatic
#060719 #11144B #1C217D #272EAF #3F47D4
Accessibility & contrast
On white
13.44
#1C217D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1C217D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C217D
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C217D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C217D | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1c217d; /* rgb */ color: rgb(28, 33, 125); /* oklch */ color: oklch(31.7% 0.151 271.6);
Tailwind
colors: {
custom: {
50: '#6a5da4',
500: '#1c217d',
950: '#000000',
},
}SCSS
$custom: #1c217d; $custom-light: #6a5da4; $custom-dark: #000000;
JSON
{
"hex": "#1c217d",
"rgb": {
"r": 28,
"g": 33,
"b": 125
},
"hsl": {
"h": 236.907,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.31739,
"c": 0.15132,
"h": 271.6
},
"luminance": 0.02815
}Semantic roles & 50–950 ramp
primary
#1C217D
secondary
#B1AB44
accent
#DE41E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F