#1C218D#1C218D
#1C218D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.172 H 270.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1C218D |
|---|---|
| RGB | rgb(28, 33, 141) |
| HSL | hsl(237, 67%, 33%) |
| HSV | hsv(237, 80%, 55%) |
| CMYK | cmyk(80.1%, 76.6%, 0%, 44.7%) |
| CIE-LAB | lab(21.05, 37.50, -59.43) |
| CIE-LCH | lch(21.05, 70.27, 302.25°) |
| OKLab | oklab(33.52% 0.0017 -0.1721) |
| OKLCH | oklch(33.52% 0.172 270.5) |
| XYZ | xyz(5.8288, 3.2570, 25.5156) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.48
Midnight Blue
#191970
ΔE00 4.65
Cobalt Blue
#030AA7
ΔE00 5.20
Royal Blue (survey)
#0504AA
ΔE00 5.81
Darkblue
#00008B
ΔE00 5.87
Indigo Blue
#3A18B1
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C218D #8D881C
analogous
#1C598D #1C218D #4F1C8D
triadic
#1C218D #8D1C21 #218D1C
tetradic
#1C218D #8D1C59 #8D881C #1C8D4F
square
#1C218D #8D1C59 #8D881C #1C8D4F
split-complementary
#1C218D #8D4F1C #598D1C
monochromatic
#080927 #12155A #1C218D #262DC0 #494FDB
Accessibility & contrast
On white
12.71
#1C218D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1C218D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C218D
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C218D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C218D | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c218d; /* rgb */ color: rgb(28, 33, 141); /* oklch */ color: oklch(33.5% 0.172 270.5);
Tailwind
colors: {
custom: {
50: '#6e5eb0',
500: '#1c218d',
950: '#000000',
},
}SCSS
$custom: #1c218d; $custom-light: #6e5eb0; $custom-dark: #000000;
JSON
{
"hex": "#1c218d",
"rgb": {
"r": 28,
"g": 33,
"b": 141
},
"hsl": {
"h": 237.345,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.33518,
"c": 0.17213,
"h": 270.5
},
"luminance": 0.03258
}Semantic roles & 50–950 ramp
primary
#1C218D
secondary
#BDB848
accent
#E23EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080411
muted
#7B7980