#1C227F#1C227F
#1C227F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.153 H 271.3°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1C227F |
|---|---|
| RGB | rgb(28, 34, 127) |
| HSL | hsl(236, 64%, 30%) |
| HSV | hsv(236, 78%, 50%) |
| CMYK | cmyk(78%, 73.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.73, 31.83, -52.80) |
| CIE-LCH | lch(19.73, 61.65, 301.08°) |
| OKLab | oklab(32.12% 0.0034 -0.1528) |
| OKLCH | oklch(32.12% 0.153 271.3) |
| XYZ | xyz(4.8804, 2.9227, 20.3815) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.04
Royal
#0C1793
ΔE00 4.18
Dark Royal Blue
#02066F
ΔE00 6.46
Darkblue
#00008B
ΔE00 6.77
Navy
#000080
ΔE00 6.83
Deep Blue
#040273
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C227F #7F791C
analogous
#1C537F #1C227F #481C7F
triadic
#1C227F #7F1C22 #227F1C
tetradic
#1C227F #7F1C53 #7F791C #1C7F48
square
#1C227F #7F1C53 #7F791C #1C7F48
split-complementary
#1C227F #7F481C #537F1C
monochromatic
#06071B #11154D #1C227F #272FB1 #4049D5
Accessibility & contrast
On white
13.25
#1C227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1C227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C227F
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C227F | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c227f; /* rgb */ color: rgb(28, 34, 127); /* oklch */ color: oklch(32.1% 0.153 271.3);
Tailwind
colors: {
custom: {
50: '#6a5ea5',
500: '#1c227f',
950: '#000000',
},
}SCSS
$custom: #1c227f; $custom-light: #6a5ea5; $custom-dark: #000000;
JSON
{
"hex": "#1c227f",
"rgb": {
"r": 28,
"g": 34,
"b": 127
},
"hsl": {
"h": 236.364,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.32123,
"c": 0.15287,
"h": 271.3
},
"luminance": 0.02923
}Semantic roles & 50–950 ramp
primary
#1C227F
secondary
#B3AC44
accent
#DD41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F