#1C287D#1C287D
#1C287D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.143 H 270.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1C287D |
|---|---|
| RGB | rgb(28, 40, 125) |
| HSL | hsl(233, 63%, 30%) |
| HSV | hsv(233, 78%, 49%) |
| CMYK | cmyk(77.6%, 68%, 0%, 51%) |
| CIE-LAB | lab(21.00, 27.10, -49.45) |
| CIE-LCH | lch(21.00, 56.39, 298.72°) |
| OKLab | oklab(32.98% 0.0001 -0.143) |
| OKLCH | oklch(32.98% 0.143 270) |
| XYZ | xyz(4.9381, 3.2446, 19.7641) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.37
Royal
#0C1793
ΔE00 5.86
Marine
#042E60
ΔE00 7.45
Sapphire (survey)
#2138AB
ΔE00 7.59
Darkslateblue
#483D8B
ΔE00 8.00
Dark Royal Blue
#02066F
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C287D #7D711C
analogous
#1C597D #1C287D #401C7D
triadic
#1C287D #7D1C28 #287D1C
tetradic
#1C287D #7D1C59 #7D711C #1C7D40
square
#1C287D #7D1C59 #7D711C #1C7D40
split-complementary
#1C287D #7D401C #597D1C
monochromatic
#060819 #11184B #1C287D #2738AF #3F52D4
Accessibility & contrast
On white
12.73
#1C287D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1C287D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C287D
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C287D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C287D | 1.00 | 12.73 | 1.65 | 12.73 |
| #FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1c287d; /* rgb */ color: rgb(28, 40, 125); /* oklch */ color: oklch(33.0% 0.143 270.0);
Tailwind
colors: {
custom: {
50: '#6962a4',
500: '#1c287d',
950: '#000000',
},
}SCSS
$custom: #1c287d; $custom-light: #6962a4; $custom-dark: #000000;
JSON
{
"hex": "#1c287d",
"rgb": {
"r": 28,
"g": 40,
"b": 125
},
"hsl": {
"h": 232.577,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.32979,
"c": 0.14303,
"h": 270
},
"luminance": 0.03245
}Semantic roles & 50–950 ramp
primary
#1C287D
secondary
#B1A344
accent
#D241E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F