#1C218E#1C218E
#1C218E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.173 H 270.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1C218E |
|---|---|
| RGB | rgb(28, 33, 142) |
| HSL | hsl(237, 67%, 33%) |
| HSV | hsv(237, 80%, 56%) |
| CMYK | cmyk(80.3%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(21.16, 37.85, -59.87) |
| CIE-LCH | lch(21.16, 70.83, 302.30°) |
| OKLab | oklab(33.63% 0.0015 -0.1734) |
| OKLCH | oklch(33.63% 0.173 270.5) |
| XYZ | xyz(5.9036, 3.2869, 25.9092) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.42
Midnight Blue
#191970
ΔE00 4.78
Cobalt Blue
#030AA7
ΔE00 5.09
Royal Blue (survey)
#0504AA
ΔE00 5.70
Darkblue
#00008B
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C218E #8E891C
analogous
#1C5A8E #1C218E #501C8E
triadic
#1C218E #8E1C21 #218E1C
tetradic
#1C218E #8E1C5A #8E891C #1C8E50
square
#1C218E #8E1C5A #8E891C #1C8E50
split-complementary
#1C218E #8E501C #5A8E1C
monochromatic
#080928 #12155B #1C218E #262DC1 #4950DB
Accessibility & contrast
On white
12.67
#1C218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1C218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C218E
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C218E | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c218e; /* rgb */ color: rgb(28, 33, 142); /* oklch */ color: oklch(33.6% 0.173 270.5);
Tailwind
colors: {
custom: {
50: '#6e5eb0',
500: '#1c218e',
950: '#000000',
},
}SCSS
$custom: #1c218e; $custom-light: #6e5eb0; $custom-dark: #000000;
JSON
{
"hex": "#1c218e",
"rgb": {
"r": 28,
"g": 33,
"b": 142
},
"hsl": {
"h": 237.368,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.33631,
"c": 0.1734,
"h": 270.5
},
"luminance": 0.03288
}Semantic roles & 50–950 ramp
primary
#1C218E
secondary
#BDB849
accent
#E23EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980