#1F1994#1F1994
#1F1994 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.187 H 271.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1994 |
|---|---|
| RGB | rgb(31, 25, 148) |
| HSL | hsl(243, 71%, 34%) |
| HSV | hsv(243, 83%, 58%) |
| CMYK | cmyk(79.1%, 83.1%, 0%, 42%) |
| CIE-LAB | lab(20.53, 44.41, -64.62) |
| CIE-LCH | lch(20.53, 78.41, 304.50°) |
| OKLab | oklab(33.45% 0.0063 -0.187) |
| OKLCH | oklch(33.45% 0.187 271.9) |
| XYZ | xyz(6.2562, 3.1240, 28.2845) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.19
Cobalt Blue
#030AA7
ΔE00 3.21
Royal Blue (survey)
#0504AA
ΔE00 3.77
Darkblue
#00008B
ΔE00 4.31
Ultramarine
#2000B1
ΔE00 4.55
Indigo Blue
#3A18B1
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1994 #8E9419
analogous
#195194 #1F1994 #5D1994
triadic
#1F1994 #941F19 #19941F
tetradic
#1F1994 #941951 #8E9419 #19945D
square
#1F1994 #941951 #8E9419 #19945D
split-complementary
#1F1994 #945D19 #519419
monochromatic
#09072B #141060 #1F1994 #2A22C8 #4F47E0
Accessibility & contrast
On white
12.92
#1F1994 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1F1994 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1994
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1994 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1994 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002B92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1f1994; /* rgb */ color: rgb(31, 25, 148); /* oklch */ color: oklch(33.4% 0.187 271.9);
Tailwind
colors: {
custom: {
50: '#715ab5',
500: '#1f1994',
950: '#000000',
},
}SCSS
$custom: #1f1994; $custom-light: #715ab5; $custom-dark: #000000;
JSON
{
"hex": "#1f1994",
"rgb": {
"r": 31,
"g": 25,
"b": 148
},
"hsl": {
"h": 242.927,
"s": 71.098,
"l": 33.922
},
"oklch": {
"l": 0.33446,
"c": 0.18711,
"h": 271.9
},
"luminance": 0.03125
}Semantic roles & 50–950 ramp
primary
#1F1994
secondary
#BBC147
accent
#EE3AE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980