#1C2A79#1C2A79
#1C2A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.135 H 269.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2A79 |
|---|---|
| RGB | rgb(28, 42, 121) |
| HSL | hsl(231, 62%, 29%) |
| HSV | hsv(231, 77%, 47%) |
| CMYK | cmyk(76.9%, 65.3%, 0%, 52.5%) |
| CIE-LAB | lab(21.14, 24.16, -46.67) |
| CIE-LCH | lch(21.14, 52.55, 297.37°) |
| OKLab | oklab(32.97% -0.0011 -0.1349) |
| OKLCH | oklch(32.97% 0.135 269.5) |
| XYZ | xyz(4.7569, 3.2828, 18.4684) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.98
Marine
#042E60
ΔE00 6.49
Royal
#0C1793
ΔE00 6.94
Darkslateblue
#483D8B
ΔE00 7.91
Sapphire (survey)
#2138AB
ΔE00 7.92
Marine Blue
#01386A
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2A79 #796B1C
analogous
#1C5979 #1C2A79 #3D1C79
triadic
#1C2A79 #791C2A #2A791C
tetradic
#1C2A79 #791C59 #796B1C #1C793D
square
#1C2A79 #791C59 #796B1C #1C793D
split-complementary
#1C2A79 #793D1C #59791C
monochromatic
#060919 #101947 #1C2A79 #283BAB #3D54D2
Accessibility & contrast
On white
12.68
#1C2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1C2A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2A79
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2A79 | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c2a79; /* rgb */ color: rgb(28, 42, 121); /* oklch */ color: oklch(33.0% 0.135 269.5);
Tailwind
colors: {
custom: {
50: '#6863a0',
500: '#1c2a79',
950: '#000000',
},
}SCSS
$custom: #1c2a79; $custom-light: #6863a0; $custom-dark: #000000;
JSON
{
"hex": "#1c2a79",
"rgb": {
"r": 28,
"g": 42,
"b": 121
},
"hsl": {
"h": 230.968,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.32969,
"c": 0.13487,
"h": 269.5
},
"luminance": 0.03283
}Semantic roles & 50–950 ramp
primary
#1C2A79
secondary
#AD9D44
accent
#CD42E5
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F