#1C2F8A#1C2F8A
#1C2F8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.152 H 268.1°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2F8A |
|---|---|
| RGB | rgb(28, 47, 138) |
| HSL | hsl(230, 66%, 33%) |
| HSV | hsv(230, 80%, 54%) |
| CMYK | cmyk(79.7%, 65.9%, 0%, 45.9%) |
| CIE-LAB | lab(24.05, 27.37, -52.62) |
| CIE-LCH | lch(24.05, 59.32, 297.48°) |
| OKLab | oklab(35.59% -0.005 -0.1523) |
| OKLCH | oklch(35.59% 0.152 268.1) |
| XYZ | xyz(6.0813, 4.1142, 24.5134) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.15
Royal
#0C1793
ΔE00 6.59
Midnight Blue
#191970
ΔE00 6.83
Blueberry
#464196
ΔE00 6.99
Darkslateblue
#483D8B
ΔE00 7.03
Marine
#042E60
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2F8A #8A771C
analogous
#1C668A #1C2F8A #401C8A
triadic
#1C2F8A #8A1C2F #2F8A1C
tetradic
#1C2F8A #8A1C66 #8A771C #1C8A40
square
#1C2F8A #8A1C66 #8A771C #1C8A40
split-complementary
#1C2F8A #8A401C #668A1C
monochromatic
#070C24 #121E57 #1C2F8A #2640BD #4760DA
Accessibility & contrast
On white
11.52
#1C2F8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1C2F8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2F8A
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2F8A | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1c2f8a; /* rgb */ color: rgb(28, 47, 138); /* oklch */ color: oklch(35.6% 0.152 268.1);
Tailwind
colors: {
custom: {
50: '#6c67ad',
500: '#1c2f8a',
950: '#000000',
},
}SCSS
$custom: #1c2f8a; $custom-light: #6c67ad; $custom-dark: #000000;
JSON
{
"hex": "#1c2f8a",
"rgb": {
"r": 28,
"g": 47,
"b": 138
},
"hsl": {
"h": 229.636,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.35594,
"c": 0.15234,
"h": 268.1
},
"luminance": 0.04115
}Semantic roles & 50–950 ramp
primary
#1C2F8A
secondary
#BBA746
accent
#CC3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F