#1F1C8E#1F1C8E
#1F1C8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.177 H 272.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1C8E |
|---|---|
| RGB | rgb(31, 28, 142) |
| HSL | hsl(242, 67%, 33%) |
| HSV | hsv(242, 80%, 56%) |
| CMYK | cmyk(78.2%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(20.34, 40.91, -61.22) |
| CIE-LCH | lch(20.34, 73.63, 303.75°) |
| OKLab | oklab(33.1% 0.0068 -0.1772) |
| OKLCH | oklch(33.1% 0.177 272.2) |
| XYZ | xyz(5.8612, 3.0742, 25.8704) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.56
Cobalt Blue
#030AA7
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.68
Darkblue
#00008B
ΔE00 4.73
Royal Blue (survey)
#0504AA
ΔE00 4.83
Navy
#000080
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1C8E #8B8E1C
analogous
#1C528E #1F1C8E #581C8E
triadic
#1F1C8E #8E1F1C #1C8E1F
tetradic
#1F1C8E #8E1C52 #8B8E1C #1C8E58
square
#1F1C8E #8E1C52 #8B8E1C #1C8E58
split-complementary
#1F1C8E #8E581C #528E1C
monochromatic
#090828 #14125B #1F1C8E #2A26C1 #4D49DB
Accessibility & contrast
On white
13.00
#1F1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1F1C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1C8E
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1C8E | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1f1c8e; /* rgb */ color: rgb(31, 28, 142); /* oklch */ color: oklch(33.1% 0.177 272.2);
Tailwind
colors: {
custom: {
50: '#705bb0',
500: '#1f1c8e',
950: '#000000',
},
}SCSS
$custom: #1f1c8e; $custom-light: #705bb0; $custom-dark: #000000;
JSON
{
"hex": "#1f1c8e",
"rgb": {
"r": 31,
"g": 28,
"b": 142
},
"hsl": {
"h": 241.579,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.331,
"c": 0.17732,
"h": 272.2
},
"luminance": 0.03075
}Semantic roles & 50–950 ramp
primary
#1F1C8E
secondary
#BABD49
accent
#EA3EE5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980