#1C1F8E#1C1F8E
#1C1F8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.175 H 270.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1F8E |
|---|---|
| RGB | rgb(28, 31, 142) |
| HSL | hsl(238, 67%, 33%) |
| HSV | hsv(238, 80%, 56%) |
| CMYK | cmyk(80.3%, 78.2%, 0%, 44.3%) |
| CIE-LAB | lab(20.75, 39.01, -60.55) |
| CIE-LCH | lch(20.75, 72.03, 302.80°) |
| OKLab | oklab(33.34% 0.0022 -0.1753) |
| OKLCH | oklch(33.34% 0.175 270.7) |
| XYZ | xyz(5.8497, 3.1792, 25.8913) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.98
Midnight Blue
#191970
ΔE00 4.68
Cobalt Blue
#030AA7
ΔE00 4.72
Royal Blue (survey)
#0504AA
ΔE00 5.33
Darkblue
#00008B
ΔE00 5.38
Navy
#000080
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1F8E #8E8B1C
analogous
#1C588E #1C1F8E #521C8E
triadic
#1C1F8E #8E1C1F #1F8E1C
tetradic
#1C1F8E #8E1C58 #8E8B1C #1C8E52
square
#1C1F8E #8E1C58 #8E8B1C #1C8E52
split-complementary
#1C1F8E #8E521C #588E1C
monochromatic
#080928 #12145B #1C1F8E #262AC1 #494DDB
Accessibility & contrast
On white
12.84
#1C1F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1C1F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1F8E
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1F8E | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1c1f8e; /* rgb */ color: rgb(28, 31, 142); /* oklch */ color: oklch(33.3% 0.175 270.7);
Tailwind
colors: {
custom: {
50: '#6e5cb0',
500: '#1c1f8e',
950: '#000000',
},
}SCSS
$custom: #1c1f8e; $custom-light: #6e5cb0; $custom-dark: #000000;
JSON
{
"hex": "#1c1f8e",
"rgb": {
"r": 28,
"g": 31,
"b": 142
},
"hsl": {
"h": 238.421,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.33341,
"c": 0.17535,
"h": 270.7
},
"luminance": 0.0318
}Semantic roles & 50–950 ramp
primary
#1C1F8E
secondary
#BDBA49
accent
#E53EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980