#1C2F87#1C2F87
#1C2F87 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.148 H 268.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2F87 |
|---|---|
| RGB | rgb(28, 47, 135) |
| HSL | hsl(229, 66%, 32%) |
| HSV | hsv(229, 79%, 53%) |
| CMYK | cmyk(79.3%, 65.2%, 0%, 47.1%) |
| CIE-LAB | lab(23.77, 26.20, -51.21) |
| CIE-LCH | lch(23.77, 57.53, 297.10°) |
| OKLab | oklab(35.3% -0.0049 -0.1481) |
| OKLCH | oklch(35.3% 0.148 268.1) |
| XYZ | xyz(5.8671, 4.0285, 23.3853) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.56
Midnight Blue
#191970
ΔE00 6.71
Royal
#0C1793
ΔE00 6.84
Darkslateblue
#483D8B
ΔE00 7.05
Blueberry
#464196
ΔE00 7.11
Marine
#042E60
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2F87 #87741C
analogous
#1C6587 #1C2F87 #3F1C87
triadic
#1C2F87 #871C2F #2F871C
tetradic
#1C2F87 #871C65 #87741C #1C873F
square
#1C2F87 #871C65 #87741C #1C873F
split-complementary
#1C2F87 #873F1C #65871C
monochromatic
#070C22 #111D54 #1C2F87 #2741BA #455FD8
Accessibility & contrast
On white
11.63
#1C2F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#1C2F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2F87
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2F87 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1c2f87; /* rgb */ color: rgb(28, 47, 135); /* oklch */ color: oklch(35.3% 0.148 268.1);
Tailwind
colors: {
custom: {
50: '#6b67ab',
500: '#1c2f87',
950: '#000000',
},
}SCSS
$custom: #1c2f87; $custom-light: #6b67ab; $custom-dark: #000000;
JSON
{
"hex": "#1c2f87",
"rgb": {
"r": 28,
"g": 47,
"b": 135
},
"hsl": {
"h": 229.346,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.35302,
"c": 0.14821,
"h": 268.1
},
"luminance": 0.04029
}Semantic roles & 50–950 ramp
primary
#1C2F87
secondary
#BAA545
accent
#CB3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F