#1C126E#1C126E
#1C126E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.147 H 275.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1C126E |
|---|---|
| RGB | rgb(28, 18, 110) |
| HSL | hsl(247, 72%, 25%) |
| HSV | hsv(247, 84%, 43%) |
| CMYK | cmyk(74.5%, 83.6%, 0%, 56.9%) |
| CIE-LAB | lab(14.43, 35.33, -50.63) |
| CIE-LCH | lch(14.43, 61.74, 304.91°) |
| OKLab | oklab(27.79% 0.0149 -0.1464) |
| OKLCH | oklch(27.79% 0.147 275.8) |
| XYZ | xyz(3.5087, 1.8049, 14.9123) |
| Luminance | 0.0181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.86
Dark Royal Blue
#02066F
ΔE00 2.80
Darkblue (survey)
#030764
ΔE00 3.03
Deep Blue
#040273
ΔE00 3.41
Navy
#000080
ΔE00 4.40
Dark Blue
#00035B
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C126E #646E12
analogous
#12366E #1C126E #4A126E
triadic
#1C126E #6E1C12 #126E1C
tetradic
#1C126E #6E1236 #646E12 #126E4A
square
#1C126E #6E1236 #646E12 #126E4A
split-complementary
#1C126E #6E4A12 #366E12
monochromatic
#07041A #0F0939 #1C126E #291BA3 #3723D7
Accessibility & contrast
On white
15.43
#1C126E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#1C126E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C126E
15.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C126E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C126E | 1.00 | 15.43 | 1.36 | 15.43 |
| #FFFFFF | 15.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #1c126e; /* rgb */ color: rgb(28, 18, 110); /* oklch */ color: oklch(27.8% 0.147 275.8);
Tailwind
colors: {
custom: {
50: '#675399',
500: '#1c126e',
950: '#000000',
},
}SCSS
$custom: #1c126e; $custom-light: #675399; $custom-dark: #000000;
JSON
{
"hex": "#1c126e",
"rgb": {
"r": 28,
"g": 18,
"b": 110
},
"hsl": {
"h": 246.522,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.27794,
"c": 0.14713,
"h": 275.8
},
"luminance": 0.01805
}Semantic roles & 50–950 ramp
primary
#1C126E
secondary
#99A537
accent
#EF39DB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E