#1C2A7F#1C2A7F
#1C2A7F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.143 H 269.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2A7F |
|---|---|
| RGB | rgb(28, 42, 127) |
| HSL | hsl(232, 64%, 30%) |
| HSV | hsv(232, 78%, 50%) |
| CMYK | cmyk(78%, 66.9%, 0%, 50.2%) |
| CIE-LAB | lab(21.71, 26.51, -49.56) |
| CIE-LCH | lch(21.71, 56.20, 298.14°) |
| OKLab | oklab(33.56% -0.0013 -0.1433) |
| OKLCH | oklch(33.56% 0.143 269.5) |
| XYZ | xyz(5.1363, 3.4346, 20.4668) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.01
Royal
#0C1793
ΔE00 6.16
Sapphire (survey)
#2138AB
ΔE00 7.11
Marine
#042E60
ΔE00 7.24
Darkslateblue
#483D8B
ΔE00 7.70
Blueberry
#464196
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2A7F #7F711C
analogous
#1C5B7F #1C2A7F #3F1C7F
triadic
#1C2A7F #7F1C2A #2A7F1C
tetradic
#1C2A7F #7F1C5B #7F711C #1C7F3F
square
#1C2A7F #7F1C5B #7F711C #1C7F3F
split-complementary
#1C2A7F #7F3F1C #5B7F1C
monochromatic
#06091B #11194D #1C2A7F #273BB1 #4055D5
Accessibility & contrast
On white
12.45
#1C2A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1C2A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2A7F
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2A7F | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c2a7f; /* rgb */ color: rgb(28, 42, 127); /* oklch */ color: oklch(33.6% 0.143 269.5);
Tailwind
colors: {
custom: {
50: '#6963a5',
500: '#1c2a7f',
950: '#000000',
},
}SCSS
$custom: #1c2a7f; $custom-light: #6963a5; $custom-dark: #000000;
JSON
{
"hex": "#1c2a7f",
"rgb": {
"r": 28,
"g": 42,
"b": 127
},
"hsl": {
"h": 231.515,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.33557,
"c": 0.14333,
"h": 269.5
},
"luminance": 0.03435
}Semantic roles & 50–950 ramp
primary
#1C2A7F
secondary
#B3A344
accent
#CF41E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F