#1C1E7D#1C1E7D
#1C1E7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.155 H 272.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1E7D |
|---|---|
| RGB | rgb(28, 30, 125) |
| HSL | hsl(239, 63%, 30%) |
| HSV | hsv(239, 78%, 49%) |
| CMYK | cmyk(77.6%, 76%, 0%, 51%) |
| CIE-LAB | lab(18.61, 33.61, -53.38) |
| CIE-LCH | lch(18.61, 63.08, 302.20°) |
| OKLab | oklab(31.25% 0.0058 -0.1545) |
| OKLCH | oklch(31.25% 0.155 272.1) |
| XYZ | xyz(4.6436, 2.6556, 19.6659) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Royal
#0C1793
ΔE00 3.78
Dark Royal Blue
#02066F
ΔE00 5.42
Navy
#000080
ΔE00 5.82
Deep Blue
#040273
ΔE00 5.84
Darkblue
#00008B
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1E7D #7D7B1C
analogous
#1C4E7D #1C1E7D #4B1C7D
triadic
#1C1E7D #7D1C1E #1E7D1C
tetradic
#1C1E7D #7D1C4E #7D7B1C #1C7D4B
square
#1C1E7D #7D1C4E #7D7B1C #1C7D4B
split-complementary
#1C1E7D #7D4B1C #4E7D1C
monochromatic
#060619 #11124B #1C1E7D #272AAF #3F42D4
Accessibility & contrast
On white
13.71
#1C1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1C1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1E7D
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1E7D | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1c1e7d; /* rgb */ color: rgb(28, 30, 125); /* oklch */ color: oklch(31.3% 0.155 272.1);
Tailwind
colors: {
custom: {
50: '#6a5ba4',
500: '#1c1e7d',
950: '#000000',
},
}SCSS
$custom: #1c1e7d; $custom-light: #6a5ba4; $custom-dark: #000000;
JSON
{
"hex": "#1c1e7d",
"rgb": {
"r": 28,
"g": 30,
"b": 125
},
"hsl": {
"h": 238.763,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.31254,
"c": 0.15462,
"h": 272.1
},
"luminance": 0.02656
}Semantic roles & 50–950 ramp
primary
#1C1E7D
secondary
#B1AE44
accent
#E341E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F