#1C218B#1C218B
#1C218B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.170 H 270.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1C218B |
|---|---|
| RGB | rgb(28, 33, 139) |
| HSL | hsl(237, 66%, 33%) |
| HSV | hsv(237, 80%, 55%) |
| CMYK | cmyk(79.9%, 76.3%, 0%, 45.5%) |
| CIE-LAB | lab(20.82, 36.79, -58.56) |
| CIE-LCH | lch(20.82, 69.16, 302.14°) |
| OKLab | oklab(33.29% 0.002 -0.1696) |
| OKLCH | oklch(33.29% 0.17 270.7) |
| XYZ | xyz(5.6814, 3.1980, 24.7389) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.62
Midnight Blue
#191970
ΔE00 4.38
Cobalt Blue
#030AA7
ΔE00 5.43
Darkblue
#00008B
ΔE00 5.91
Royal Blue (survey)
#0504AA
ΔE00 6.04
Navy
#000080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C218B #8B861C
analogous
#1C598B #1C218B #4E1C8B
triadic
#1C218B #8B1C21 #218B1C
tetradic
#1C218B #8B1C59 #8B861C #1C8B4E
square
#1C218B #8B1C59 #8B861C #1C8B4E
split-complementary
#1C218B #8B4E1C #598B1C
monochromatic
#070925 #121558 #1C218B #262DBE #474EDA
Accessibility & contrast
On white
12.81
#1C218B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1C218B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C218B
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C218B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C218B | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1c218b; /* rgb */ color: rgb(28, 33, 139); /* oklch */ color: oklch(33.3% 0.170 270.7);
Tailwind
colors: {
custom: {
50: '#6d5dae',
500: '#1c218b',
950: '#000000',
},
}SCSS
$custom: #1c218b; $custom-light: #6d5dae; $custom-dark: #000000;
JSON
{
"hex": "#1c218b",
"rgb": {
"r": 28,
"g": 33,
"b": 139
},
"hsl": {
"h": 237.297,
"s": 66.467,
"l": 32.745
},
"oklch": {
"l": 0.33291,
"c": 0.16959,
"h": 270.7
},
"luminance": 0.03199
}Semantic roles & 50–950 ramp
primary
#1C218B
secondary
#BCB747
accent
#E23EE9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F