#1C128E#1C128E
#1C128E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.8% C 0.186 H 271.8°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1C128E |
|---|---|
| RGB | rgb(28, 18, 142) |
| HSL | hsl(245, 78%, 31%) |
| HSV | hsv(245, 87%, 56%) |
| CMYK | cmyk(80.3%, 87.3%, 0%, 44.3%) |
| CIE-LAB | lab(18.50, 45.55, -64.27) |
| CIE-LCH | lch(18.50, 78.78, 305.33°) |
| OKLab | oklab(31.78% 0.0058 -0.1859) |
| OKLCH | oklch(31.78% 0.186 271.8) |
| XYZ | xyz(5.5760, 2.6319, 25.8001) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.49
Darkblue
#00008B
ΔE00 2.88
Cobalt Blue
#030AA7
ΔE00 3.38
Navy
#000080
ΔE00 3.75
Royal Blue (survey)
#0504AA
ΔE00 3.84
Indigo (survey)
#380282
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C128E #848E12
analogous
#12468E #1C128E #5A128E
triadic
#1C128E #8E1C12 #128E1C
tetradic
#1C128E #8E1246 #848E12 #128E5A
square
#1C128E #8E1246 #848E12 #128E5A
split-complementary
#1C128E #8E5A12 #468E12
monochromatic
#070421 #110B58 #1C128E #2719C4 #4335E5
Accessibility & contrast
On white
13.76
#1C128E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1C128E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C128E
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C128E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C128E | 1.00 | 13.76 | 1.53 | 13.76 |
| #FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1c128e; /* rgb */ color: rgb(28, 18, 142); /* oklch */ color: oklch(31.8% 0.186 271.8);
Tailwind
colors: {
custom: {
50: '#7055b0',
500: '#1c128e',
950: '#000000',
},
}SCSS
$custom: #1c128e; $custom-light: #7055b0; $custom-dark: #000000;
JSON
{
"hex": "#1c128e",
"rgb": {
"r": 28,
"g": 18,
"b": 142
},
"hsl": {
"h": 244.839,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.3178,
"c": 0.18598,
"h": 271.8
},
"luminance": 0.02632
}Semantic roles & 50–950 ramp
primary
#1C128E
secondary
#B7C23A
accent
#F434E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880