#1F1C93#1F1C93
#1F1C93 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.183 H 271.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1C93 |
|---|---|
| RGB | rgb(31, 28, 147) |
| HSL | hsl(242, 68%, 34%) |
| HSV | hsv(242, 81%, 58%) |
| CMYK | cmyk(78.9%, 81%, 0%, 42.4%) |
| CIE-LAB | lab(20.93, 42.56, -63.34) |
| CIE-LCH | lch(20.93, 76.31, 303.90°) |
| OKLab | oklab(33.69% 0.0057 -0.1833) |
| OKLCH | oklch(33.69% 0.183 271.8) |
| XYZ | xyz(6.2450, 3.2277, 27.8920) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.43
Cobalt Blue
#030AA7
ΔE00 3.72
Royal Blue (survey)
#0504AA
ΔE00 4.30
Darkblue
#00008B
ΔE00 4.83
Ultramarine
#2000B1
ΔE00 5.04
Indigo Blue
#3A18B1
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1C93 #90931C
analogous
#1C5493 #1F1C93 #5B1C93
triadic
#1F1C93 #931F1C #1C931F
tetradic
#1F1C93 #931C54 #90931C #1C935B
square
#1F1C93 #931C54 #90931C #1C935B
split-complementary
#1F1C93 #935B1C #54931C
monochromatic
#09082C #141260 #1F1C93 #2A26C6 #504CDD
Accessibility & contrast
On white
12.76
#1F1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F1C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1C93
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1C93 | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f1c93; /* rgb */ color: rgb(31, 28, 147); /* oklch */ color: oklch(33.7% 0.183 271.8);
Tailwind
colors: {
custom: {
50: '#715bb4',
500: '#1f1c93',
950: '#000000',
},
}SCSS
$custom: #1f1c93; $custom-light: #715bb4; $custom-dark: #000000;
JSON
{
"hex": "#1f1c93",
"rgb": {
"r": 31,
"g": 28,
"b": 147
},
"hsl": {
"h": 241.513,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.33689,
"c": 0.18343,
"h": 271.8
},
"luminance": 0.03228
}Semantic roles & 50–950 ramp
primary
#1F1C93
secondary
#BCBF4C
accent
#EB3DE6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980