#1C229E#1C229E
#1C229E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.192 H 269.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1C229E |
|---|---|
| RGB | rgb(28, 34, 158) |
| HSL | hsl(237, 70%, 36%) |
| HSV | hsv(237, 82%, 62%) |
| CMYK | cmyk(82.3%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(23.20, 42.80, -66.36) |
| CIE-LCH | lch(23.20, 78.96, 302.82°) |
| OKLab | oklab(35.61% -0.0016 -0.1922) |
| OKLCH | oklch(35.61% 0.192 269.5) |
| XYZ | xyz(7.2204, 3.8587, 32.7054) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.89
Cobalt Blue
#030AA7
ΔE00 4.06
Indigo Blue
#3A18B1
ΔE00 4.43
Royal Blue (survey)
#0504AA
ΔE00 4.62
Ultramarine
#2000B1
ΔE00 5.06
Sapphire (survey)
#2138AB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C229E #9E981C
analogous
#1C639E #1C229E #571C9E
triadic
#1C229E #9E1C22 #229E1C
tetradic
#1C229E #9E1C63 #9E981C #1C9E57
square
#1C229E #9E1C63 #9E981C #1C9E57
split-complementary
#1C229E #9E571C #639E1C
monochromatic
#0A0C36 #13176A #1C229E #252DD2 #545AE1
Accessibility & contrast
On white
11.85
#1C229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1C229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C229E
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C229E | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1c229e; /* rgb */ color: rgb(28, 34, 158); /* oklch */ color: oklch(35.6% 0.192 269.5);
Tailwind
colors: {
custom: {
50: '#725fbc',
500: '#1c229e',
950: '#000000',
},
}SCSS
$custom: #1c229e; $custom-light: #725fbc; $custom-dark: #000000;
JSON
{
"hex": "#1c229e",
"rgb": {
"r": 28,
"g": 34,
"b": 158
},
"hsl": {
"h": 237.231,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.35613,
"c": 0.19224,
"h": 269.5
},
"luminance": 0.0386
}Semantic roles & 50–950 ramp
primary
#1C229E
secondary
#C4BE52
accent
#E43BED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981