#1C226E#1C226E
#1C226E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.129 H 272.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1C226E |
|---|---|
| RGB | rgb(28, 34, 110) |
| HSL | hsl(236, 59%, 27%) |
| HSV | hsv(236, 75%, 43%) |
| CMYK | cmyk(74.5%, 69.1%, 0%, 56.9%) |
| CIE-LAB | lab(17.99, 25.41, -44.76) |
| CIE-LCH | lch(17.99, 51.47, 299.59°) |
| OKLab | oklab(30.34% 0.0054 -0.1293) |
| OKLCH | oklch(30.34% 0.129 272.4) |
| XYZ | xyz(3.8644, 2.5163, 15.0309) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.80
Darkblue (survey)
#030764
ΔE00 6.73
Royal
#0C1793
ΔE00 6.83
Dark Royal Blue
#02066F
ΔE00 6.87
Dark Indigo
#1F0954
ΔE00 7.48
Marine
#042E60
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C226E #6E681C
analogous
#1C4B6E #1C226E #3F1C6E
triadic
#1C226E #6E1C22 #226E1C
tetradic
#1C226E #6E1C4B #6E681C #1C6E3F
square
#1C226E #6E1C4B #6E681C #1C6E3F
split-complementary
#1C226E #6E3F1C #4B6E1C
monochromatic
#060818 #10133D #1C226E #28319F #3843CC
Accessibility & contrast
On white
13.97
#1C226E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1C226E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C226E
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C226E | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1c226e; /* rgb */ color: rgb(28, 34, 110); /* oklch */ color: oklch(30.3% 0.129 272.4);
Tailwind
colors: {
custom: {
50: '#655d98',
500: '#1c226e',
950: '#000000',
},
}SCSS
$custom: #1c226e; $custom-light: #655d98; $custom-dark: #000000;
JSON
{
"hex": "#1c226e",
"rgb": {
"r": 28,
"g": 34,
"b": 110
},
"hsl": {
"h": 235.61,
"s": 59.42,
"l": 27.059
},
"oklch": {
"l": 0.30336,
"c": 0.12944,
"h": 272.4
},
"luminance": 0.02517
}Semantic roles & 50–950 ramp
primary
#1C226E
secondary
#A39C43
accent
#D745E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E