#1C2E7F#1C2E7F
#1C2E7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.138 H 268.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2E7F |
|---|---|
| RGB | rgb(28, 46, 127) |
| HSL | hsl(229, 64%, 30%) |
| HSV | hsv(229, 78%, 50%) |
| CMYK | cmyk(78%, 63.8%, 0%, 50.2%) |
| CIE-LAB | lab(22.77, 23.75, -47.82) |
| CIE-LCH | lch(22.77, 53.39, 296.41°) |
| OKLab | oklab(34.34% -0.004 -0.1382) |
| OKLCH | oklch(34.34% 0.138 268.3) |
| XYZ | xyz(5.2853, 3.7326, 20.5165) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.25
Marine
#042E60
ΔE00 6.43
Sapphire (survey)
#2138AB
ΔE00 6.76
Darkslateblue
#483D8B
ΔE00 7.33
Royal
#0C1793
ΔE00 7.35
Marine Blue
#01386A
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2E7F #7F6D1C
analogous
#1C5F7F #1C2E7F #3B1C7F
triadic
#1C2E7F #7F1C2E #2E7F1C
tetradic
#1C2E7F #7F1C5F #7F6D1C #1C7F3B
square
#1C2E7F #7F1C5F #7F6D1C #1C7F3B
split-complementary
#1C2E7F #7F3B1C #5F7F1C
monochromatic
#060A1B #111C4D #1C2E7F #2740B1 #405BD5
Accessibility & contrast
On white
12.02
#1C2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1C2E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2E7F
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2E7F | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1c2e7f; /* rgb */ color: rgb(28, 46, 127); /* oklch */ color: oklch(34.3% 0.138 268.3);
Tailwind
colors: {
custom: {
50: '#6966a5',
500: '#1c2e7f',
950: '#000000',
},
}SCSS
$custom: #1c2e7f; $custom-light: #6966a5; $custom-dark: #000000;
JSON
{
"hex": "#1c2e7f",
"rgb": {
"r": 28,
"g": 46,
"b": 127
},
"hsl": {
"h": 229.091,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.34338,
"c": 0.13826,
"h": 268.3
},
"luminance": 0.03733
}Semantic roles & 50–950 ramp
primary
#1C2E7F
secondary
#B39F44
accent
#C941E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F