#1C218F#1C218F
#1C218F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.175 H 270.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1C218F |
|---|---|
| RGB | rgb(28, 33, 143) |
| HSL | hsl(237, 67%, 34%) |
| HSV | hsv(237, 80%, 56%) |
| CMYK | cmyk(80.4%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(21.27, 38.20, -60.30) |
| CIE-LCH | lch(21.27, 71.39, 302.35°) |
| OKLab | oklab(33.75% 0.0013 -0.1746) |
| OKLCH | oklch(33.75% 0.175 270.4) |
| XYZ | xyz(5.9790, 3.3171, 26.3064) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.37
Midnight Blue
#191970
ΔE00 4.92
Cobalt Blue
#030AA7
ΔE00 4.98
Royal Blue (survey)
#0504AA
ΔE00 5.59
Darkblue
#00008B
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C218F #8F8A1C
analogous
#1C5A8F #1C218F #501C8F
triadic
#1C218F #8F1C21 #218F1C
tetradic
#1C218F #8F1C5A #8F8A1C #1C8F50
square
#1C218F #8F1C5A #8F8A1C #1C8F50
split-complementary
#1C218F #8F501C #5A8F1C
monochromatic
#080929 #12155C #1C218F #262DC2 #4A50DC
Accessibility & contrast
On white
12.62
#1C218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1C218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C218F
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C218F | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c218f; /* rgb */ color: rgb(28, 33, 143); /* oklch */ color: oklch(33.7% 0.175 270.4);
Tailwind
colors: {
custom: {
50: '#6e5eb1',
500: '#1c218f',
950: '#000000',
},
}SCSS
$custom: #1c218f; $custom-light: #6e5eb1; $custom-dark: #000000;
JSON
{
"hex": "#1c218f",
"rgb": {
"r": 28,
"g": 33,
"b": 143
},
"hsl": {
"h": 237.391,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.33745,
"c": 0.17465,
"h": 270.4
},
"luminance": 0.03318
}Semantic roles & 50–950 ramp
primary
#1C218F
secondary
#BEB949
accent
#E33EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980