#1C226F#1C226F
#1C226F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.131 H 272.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1C226F |
|---|---|
| RGB | rgb(28, 34, 111) |
| HSL | hsl(236, 60%, 27%) |
| HSV | hsv(236, 75%, 44%) |
| CMYK | cmyk(74.8%, 69.4%, 0%, 56.5%) |
| CIE-LAB | lab(18.09, 25.80, -45.24) |
| CIE-LCH | lch(18.09, 52.08, 299.69°) |
| OKLab | oklab(30.44% 0.0053 -0.1308) |
| OKLCH | oklch(30.44% 0.131 272.3) |
| XYZ | xyz(3.9192, 2.5382, 15.3192) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.72
Royal
#0C1793
ΔE00 6.65
Darkblue (survey)
#030764
ΔE00 6.71
Dark Royal Blue
#02066F
ΔE00 6.80
Deep Blue
#040273
ΔE00 7.53
Dark Indigo
#1F0954
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C226F #6F691C
analogous
#1C4B6F #1C226F #401C6F
triadic
#1C226F #6F1C22 #226F1C
tetradic
#1C226F #6F1C4B #6F691C #1C6F40
square
#1C226F #6F1C4B #6F691C #1C6F40
split-complementary
#1C226F #6F401C #4B6F1C
monochromatic
#060718 #10133E #1C226F #2831A0 #3843CD
Accessibility & contrast
On white
13.93
#1C226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1C226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C226F
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C226F | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1c226f; /* rgb */ color: rgb(28, 34, 111); /* oklch */ color: oklch(30.4% 0.131 272.3);
Tailwind
colors: {
custom: {
50: '#665d99',
500: '#1c226f',
950: '#000000',
},
}SCSS
$custom: #1c226f; $custom-light: #665d99; $custom-dark: #000000;
JSON
{
"hex": "#1c226f",
"rgb": {
"r": 28,
"g": 34,
"b": 111
},
"hsl": {
"h": 235.663,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.30438,
"c": 0.13087,
"h": 272.3
},
"luminance": 0.02539
}Semantic roles & 50–950 ramp
primary
#1C226F
secondary
#A49D43
accent
#D745E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E