#1C2D7C#1C2D7C
#1C2D7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.135 H 268.6°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2D7C |
|---|---|
| RGB | rgb(28, 45, 124) |
| HSL | hsl(229, 63%, 30%) |
| HSV | hsv(229, 77%, 49%) |
| CMYK | cmyk(77.4%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(22.23, 23.26, -46.81) |
| CIE-LCH | lch(22.23, 52.27, 296.42°) |
| OKLab | oklab(33.85% -0.0033 -0.1352) |
| OKLCH | oklch(33.85% 0.135 268.6) |
| XYZ | xyz(5.0541, 3.5783, 19.4892) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.94
Marine
#042E60
ΔE00 6.21
Sapphire (survey)
#2138AB
ΔE00 7.26
Royal
#0C1793
ΔE00 7.41
Darkslateblue
#483D8B
ΔE00 7.52
Marine Blue
#01386A
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2D7C #7C6B1C
analogous
#1C5D7C #1C2D7C #3B1C7C
triadic
#1C2D7C #7C1C2D #2D7C1C
tetradic
#1C2D7C #7C1C5D #7C6B1C #1C7C3B
square
#1C2D7C #7C1C5D #7C6B1C #1C7C3B
split-complementary
#1C2D7C #7C3B1C #5D7C1C
monochromatic
#060919 #111B4A #1C2D7C #273FAE #3F59D4
Accessibility & contrast
On white
12.24
#1C2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1C2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2D7C
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2D7C | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1c2d7c; /* rgb */ color: rgb(28, 45, 124); /* oklch */ color: oklch(33.9% 0.135 268.6);
Tailwind
colors: {
custom: {
50: '#6865a3',
500: '#1c2d7c',
950: '#000000',
},
}SCSS
$custom: #1c2d7c; $custom-light: #6865a3; $custom-dark: #000000;
JSON
{
"hex": "#1c2d7c",
"rgb": {
"r": 28,
"g": 45,
"b": 124
},
"hsl": {
"h": 229.375,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.33853,
"c": 0.13528,
"h": 268.6
},
"luminance": 0.03579
}Semantic roles & 50–950 ramp
primary
#1C2D7C
secondary
#B09D44
accent
#C942E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F