#1C218A#1C218A
#1C218A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.168 H 270.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1C218A |
|---|---|
| RGB | rgb(28, 33, 138) |
| HSL | hsl(237, 66%, 33%) |
| HSV | hsv(237, 80%, 54%) |
| CMYK | cmyk(79.7%, 76.1%, 0%, 45.9%) |
| CIE-LAB | lab(20.71, 36.44, -58.12) |
| CIE-LCH | lch(20.71, 68.59, 302.08°) |
| OKLab | oklab(33.18% 0.0022 -0.1683) |
| OKLCH | oklch(33.18% 0.168 270.7) |
| XYZ | xyz(5.6086, 3.1689, 24.3559) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.71
Midnight Blue
#191970
ΔE00 4.24
Cobalt Blue
#030AA7
ΔE00 5.55
Darkblue
#00008B
ΔE00 5.93
Royal Blue (survey)
#0504AA
ΔE00 6.15
Navy
#000080
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C218A #8A851C
analogous
#1C588A #1C218A #4E1C8A
triadic
#1C218A #8A1C21 #218A1C
tetradic
#1C218A #8A1C58 #8A851C #1C8A4E
square
#1C218A #8A1C58 #8A851C #1C8A4E
split-complementary
#1C218A #8A4E1C #588A1C
monochromatic
#070924 #121557 #1C218A #262DBD #474DDA
Accessibility & contrast
On white
12.85
#1C218A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1C218A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C218A
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C218A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C218A | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1c218a; /* rgb */ color: rgb(28, 33, 138); /* oklch */ color: oklch(33.2% 0.168 270.7);
Tailwind
colors: {
custom: {
50: '#6d5dad',
500: '#1c218a',
950: '#000000',
},
}SCSS
$custom: #1c218a; $custom-light: #6d5dad; $custom-dark: #000000;
JSON
{
"hex": "#1c218a",
"rgb": {
"r": 28,
"g": 33,
"b": 138
},
"hsl": {
"h": 237.273,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.33178,
"c": 0.16831,
"h": 270.7
},
"luminance": 0.0317
}Semantic roles & 50–950 ramp
primary
#1C218A
secondary
#BBB646
accent
#E13FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F