#1C2874#1C2874
#1C2874 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.130 H 270.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2874 |
|---|---|
| RGB | rgb(28, 40, 116) |
| HSL | hsl(232, 61%, 28%) |
| HSV | hsv(232, 76%, 45%) |
| CMYK | cmyk(75.9%, 65.5%, 0%, 54.5%) |
| CIE-LAB | lab(20.14, 23.59, -45.11) |
| CIE-LCH | lch(20.14, 50.90, 297.61°) |
| OKLab | oklab(32.09% 0.0006 -0.1303) |
| OKLCH | oklch(32.09% 0.13 270.2) |
| XYZ | xyz(4.3890, 3.0250, 16.8722) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.46
Marine
#042E60
ΔE00 6.41
Royal
#0C1793
ΔE00 7.15
Darkslateblue
#483D8B
ΔE00 8.37
Dark Royal Blue
#02066F
ΔE00 8.47
Marine Blue
#01386A
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2874 #74681C
analogous
#1C5474 #1C2874 #3C1C74
triadic
#1C2874 #741C28 #28741C
tetradic
#1C2874 #741C54 #74681C #1C743C
square
#1C2874 #741C54 #74681C #1C743C
split-complementary
#1C2874 #743C1C #54741C
monochromatic
#060919 #101743 #1C2874 #2839A5 #3B4FD0
Accessibility & contrast
On white
13.08
#1C2874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1C2874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2874
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2874 | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1c2874; /* rgb */ color: rgb(28, 40, 116); /* oklch */ color: oklch(32.1% 0.130 270.2);
Tailwind
colors: {
custom: {
50: '#66619d',
500: '#1c2874',
950: '#000000',
},
}SCSS
$custom: #1c2874; $custom-light: #66619d; $custom-dark: #000000;
JSON
{
"hex": "#1c2874",
"rgb": {
"r": 28,
"g": 40,
"b": 116
},
"hsl": {
"h": 231.818,
"s": 61.111,
"l": 28.235
},
"oklch": {
"l": 0.32089,
"c": 0.13031,
"h": 270.2
},
"luminance": 0.03025
}Semantic roles & 50–950 ramp
primary
#1C2874
secondary
#A89B43
accent
#CE44E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E