#1C227E#1C227E
#1C227E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.152 H 271.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1C227E |
|---|---|
| RGB | rgb(28, 34, 126) |
| HSL | hsl(236, 64%, 30%) |
| HSV | hsv(236, 78%, 49%) |
| CMYK | cmyk(77.8%, 73%, 0%, 50.6%) |
| CIE-LAB | lab(19.63, 31.45, -52.34) |
| CIE-LCH | lch(19.63, 61.07, 301.00°) |
| OKLab | oklab(32.01% 0.0035 -0.1515) |
| OKLCH | oklch(32.01% 0.152 271.3) |
| XYZ | xyz(4.8155, 2.8968, 20.0400) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.94
Royal
#0C1793
ΔE00 4.32
Dark Royal Blue
#02066F
ΔE00 6.45
Darkblue
#00008B
ΔE00 6.85
Navy
#000080
ΔE00 6.88
Deep Blue
#040273
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C227E #7E781C
analogous
#1C537E #1C227E #471C7E
triadic
#1C227E #7E1C22 #227E1C
tetradic
#1C227E #7E1C53 #7E781C #1C7E47
square
#1C227E #7E1C53 #7E781C #1C7E47
split-complementary
#1C227E #7E471C #537E1C
monochromatic
#06071A #11144C #1C227E #2730B0 #4049D5
Accessibility & contrast
On white
13.30
#1C227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1C227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C227E
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C227E | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1c227e; /* rgb */ color: rgb(28, 34, 126); /* oklch */ color: oklch(32.0% 0.152 271.3);
Tailwind
colors: {
custom: {
50: '#6a5da4',
500: '#1c227e',
950: '#000000',
},
}SCSS
$custom: #1c227e; $custom-light: #6a5da4; $custom-dark: #000000;
JSON
{
"hex": "#1c227e",
"rgb": {
"r": 28,
"g": 34,
"b": 126
},
"hsl": {
"h": 236.327,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.32014,
"c": 0.15153,
"h": 271.3
},
"luminance": 0.02897
}Semantic roles & 50–950 ramp
primary
#1C227E
secondary
#B2AB44
accent
#DD41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F