#1C217F#1C217F
#1C217F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.154 H 271.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1C217F |
|---|---|
| RGB | rgb(28, 33, 127) |
| HSL | hsl(237, 64%, 30%) |
| HSV | hsv(237, 78%, 50%) |
| CMYK | cmyk(78%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(19.50, 32.46, -53.18) |
| CIE-LCH | lch(19.50, 62.31, 301.40°) |
| OKLab | oklab(31.96% 0.0039 -0.1539) |
| OKLCH | oklch(31.96% 0.154 271.5) |
| XYZ | xyz(4.8522, 2.8664, 20.3721) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.87
Royal
#0C1793
ΔE00 3.98
Dark Royal Blue
#02066F
ΔE00 6.21
Darkblue
#00008B
ΔE00 6.50
Navy
#000080
ΔE00 6.55
Deep Blue
#040273
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C217F #7F7A1C
analogous
#1C527F #1C217F #491C7F
triadic
#1C217F #7F1C21 #217F1C
tetradic
#1C217F #7F1C52 #7F7A1C #1C7F49
square
#1C217F #7F1C52 #7F7A1C #1C7F49
split-complementary
#1C217F #7F491C #527F1C
monochromatic
#06071B #11144D #1C217F #272EB1 #4048D5
Accessibility & contrast
On white
13.35
#1C217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1C217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C217F
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C217F | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1c217f; /* rgb */ color: rgb(28, 33, 127); /* oklch */ color: oklch(32.0% 0.154 271.5);
Tailwind
colors: {
custom: {
50: '#6a5da5',
500: '#1c217f',
950: '#000000',
},
}SCSS
$custom: #1c217f; $custom-light: #6a5da5; $custom-dark: #000000;
JSON
{
"hex": "#1c217f",
"rgb": {
"r": 28,
"g": 33,
"b": 127
},
"hsl": {
"h": 236.97,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.31957,
"c": 0.15399,
"h": 271.5
},
"luminance": 0.02867
}Semantic roles & 50–950 ramp
primary
#1C217F
secondary
#B3AD44
accent
#DF41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F