#1C2A8F#1C2A8F
#1C2A8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.165 H 269.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2A8F |
|---|---|
| RGB | rgb(28, 42, 143) |
| HSL | hsl(233, 67%, 34%) |
| HSV | hsv(233, 80%, 56%) |
| CMYK | cmyk(80.4%, 70.6%, 0%, 43.9%) |
| CIE-LAB | lab(23.29, 32.61, -56.98) |
| CIE-LCH | lch(23.29, 65.65, 299.78°) |
| OKLab | oklab(35.19% -0.0026 -0.165) |
| OKLCH | oklch(35.19% 0.165 269.1) |
| XYZ | xyz(6.2631, 3.8853, 26.4011) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.74
Sapphire (survey)
#2138AB
ΔE00 5.25
Midnight Blue
#191970
ΔE00 6.04
Cobalt Blue
#030AA7
ΔE00 7.06
Indigo Blue
#3A18B1
ΔE00 7.35
Darkslateblue
#483D8B
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2A8F #8F811C
analogous
#1C638F #1C2A8F #471C8F
triadic
#1C2A8F #8F1C2A #2A8F1C
tetradic
#1C2A8F #8F1C63 #8F811C #1C8F47
square
#1C2A8F #8F1C63 #8F811C #1C8F47
split-complementary
#1C2A8F #8F471C #638F1C
monochromatic
#080C29 #121B5C #1C2A8F #2639C2 #4A5CDC
Accessibility & contrast
On white
11.82
#1C2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1C2A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2A8F
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2A8F | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1c2a8f; /* rgb */ color: rgb(28, 42, 143); /* oklch */ color: oklch(35.2% 0.165 269.1);
Tailwind
colors: {
custom: {
50: '#6e64b1',
500: '#1c2a8f',
950: '#000000',
},
}SCSS
$custom: #1c2a8f; $custom-light: #6e64b1; $custom-dark: #000000;
JSON
{
"hex": "#1c2a8f",
"rgb": {
"r": 28,
"g": 42,
"b": 143
},
"hsl": {
"h": 232.696,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.35191,
"c": 0.16502,
"h": 269.1
},
"luminance": 0.03886
}Semantic roles & 50–950 ramp
primary
#1C2A8F
secondary
#BEAF49
accent
#D53EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80