#1C287E#1C287E
#1C287E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.144 H 270.0°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1C287E |
|---|---|
| RGB | rgb(28, 40, 126) |
| HSL | hsl(233, 64%, 30%) |
| HSV | hsv(233, 78%, 49%) |
| CMYK | cmyk(77.8%, 68.3%, 0%, 50.6%) |
| CIE-LAB | lab(21.10, 27.48, -49.93) |
| CIE-LCH | lch(21.10, 56.99, 298.83°) |
| OKLab | oklab(33.08% 0 -0.1444) |
| OKLCH | oklch(33.08% 0.144 270) |
| XYZ | xyz(5.0023, 3.2703, 20.1022) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.40
Royal
#0C1793
ΔE00 5.74
Sapphire (survey)
#2138AB
ΔE00 7.47
Marine
#042E60
ΔE00 7.57
Darkslateblue
#483D8B
ΔE00 7.98
Dark Royal Blue
#02066F
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C287E #7E721C
analogous
#1C597E #1C287E #411C7E
triadic
#1C287E #7E1C28 #287E1C
tetradic
#1C287E #7E1C59 #7E721C #1C7E41
square
#1C287E #7E1C59 #7E721C #1C7E41
split-complementary
#1C287E #7E411C #597E1C
monochromatic
#06081A #11184C #1C287E #2738B0 #4052D5
Accessibility & contrast
On white
12.69
#1C287E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1C287E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C287E
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C287E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C287E | 1.00 | 12.69 | 1.65 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c287e; /* rgb */ color: rgb(28, 40, 126); /* oklch */ color: oklch(33.1% 0.144 270.0);
Tailwind
colors: {
custom: {
50: '#6962a4',
500: '#1c287e',
950: '#000000',
},
}SCSS
$custom: #1c287e; $custom-light: #6962a4; $custom-dark: #000000;
JSON
{
"hex": "#1c287e",
"rgb": {
"r": 28,
"g": 40,
"b": 126
},
"hsl": {
"h": 232.653,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.3308,
"c": 0.14442,
"h": 270
},
"luminance": 0.03271
}Semantic roles & 50–950 ramp
primary
#1C287E
secondary
#B2A444
accent
#D241E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F