#1C2C7D#1C2C7D
#1C2C7D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.138 H 268.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2C7D |
|---|---|
| RGB | rgb(28, 44, 125) |
| HSL | hsl(230, 63%, 30%) |
| HSV | hsv(230, 78%, 49%) |
| CMYK | cmyk(77.6%, 64.8%, 0%, 51%) |
| CIE-LAB | lab(22.05, 24.35, -47.73) |
| CIE-LCH | lch(22.05, 53.58, 297.02°) |
| OKLab | oklab(33.75% -0.0026 -0.138) |
| OKLCH | oklch(33.75% 0.138 268.9) |
| XYZ | xyz(5.0800, 3.5284, 19.8114) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.61
Marine
#042E60
ΔE00 6.55
Royal
#0C1793
ΔE00 6.99
Sapphire (survey)
#2138AB
ΔE00 7.19
Darkslateblue
#483D8B
ΔE00 7.56
Marine Blue
#01386A
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2C7D #7D6D1C
analogous
#1C5D7D #1C2C7D #3C1C7D
triadic
#1C2C7D #7D1C2C #2C7D1C
tetradic
#1C2C7D #7D1C5D #7D6D1C #1C7D3C
square
#1C2C7D #7D1C5D #7D6D1C #1C7D3C
split-complementary
#1C2C7D #7D3C1C #5D7D1C
monochromatic
#060919 #111A4B #1C2C7D #273EAF #3F58D4
Accessibility & contrast
On white
12.31
#1C2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1C2C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2C7D
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2C7D | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1c2c7d; /* rgb */ color: rgb(28, 44, 125); /* oklch */ color: oklch(33.7% 0.138 268.9);
Tailwind
colors: {
custom: {
50: '#6865a3',
500: '#1c2c7d',
950: '#000000',
},
}SCSS
$custom: #1c2c7d; $custom-light: #6865a3; $custom-dark: #000000;
JSON
{
"hex": "#1c2c7d",
"rgb": {
"r": 28,
"g": 44,
"b": 125
},
"hsl": {
"h": 230.103,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.33749,
"c": 0.13799,
"h": 268.9
},
"luminance": 0.03529
}Semantic roles & 50–950 ramp
primary
#1C2C7D
secondary
#B19F44
accent
#CB41E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F