#1C2C7A#1C2C7A
#1C2C7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.134 H 268.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2C7A |
|---|---|
| RGB | rgb(28, 44, 122) |
| HSL | hsl(230, 63%, 29%) |
| HSV | hsv(230, 77%, 48%) |
| CMYK | cmyk(77%, 63.9%, 0%, 52.2%) |
| CIE-LAB | lab(21.77, 23.16, -46.28) |
| CIE-LCH | lch(21.77, 51.75, 296.59°) |
| OKLab | oklab(33.46% -0.0025 -0.1337) |
| OKLCH | oklch(33.46% 0.134 268.9) |
| XYZ | xyz(4.8912, 3.4529, 18.8173) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.64
Marine
#042E60
ΔE00 6.15
Royal
#0C1793
ΔE00 7.37
Sapphire (survey)
#2138AB
ΔE00 7.62
Marine Blue
#01386A
ΔE00 7.67
Darkslateblue
#483D8B
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2C7A #7A6A1C
analogous
#1C5B7A #1C2C7A #3B1C7A
triadic
#1C2C7A #7A1C2C #2C7A1C
tetradic
#1C2C7A #7A1C5B #7A6A1C #1C7A3B
square
#1C2C7A #7A1C5B #7A6A1C #1C7A3B
split-complementary
#1C2C7A #7A3B1C #5B7A1C
monochromatic
#060919 #111A48 #1C2C7A #273EAC #3E57D3
Accessibility & contrast
On white
12.42
#1C2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1C2C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2C7A
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2C7A | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c2c7a; /* rgb */ color: rgb(28, 44, 122); /* oklch */ color: oklch(33.5% 0.134 268.9);
Tailwind
colors: {
custom: {
50: '#6865a1',
500: '#1c2c7a',
950: '#000000',
},
}SCSS
$custom: #1c2c7a; $custom-light: #6865a1; $custom-dark: #000000;
JSON
{
"hex": "#1c2c7a",
"rgb": {
"r": 28,
"g": 44,
"b": 122
},
"hsl": {
"h": 229.787,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.33463,
"c": 0.13372,
"h": 268.9
},
"luminance": 0.03453
}Semantic roles & 50–950 ramp
primary
#1C2C7A
secondary
#AE9C44
accent
#CA42E6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F