#1F1081#1F1081
#1F1081 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.1% C 0.171 H 274.8°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1081 |
|---|---|
| RGB | rgb(31, 16, 129) |
| HSL | hsl(248, 78%, 28%) |
| HSV | hsv(248, 88%, 51%) |
| CMYK | cmyk(76%, 87.6%, 0%, 49.4%) |
| CIE-LAB | lab(16.73, 42.59, -59.03) |
| CIE-LCH | lch(16.73, 72.79, 305.81°) |
| OKLab | oklab(30.14% 0.0142 -0.1706) |
| OKLCH | oklch(30.14% 0.171 274.8) |
| XYZ | xyz(4.7115, 2.2464, 20.9499) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.96
Darkblue
#00008B
ΔE00 2.97
Royal
#0C1793
ΔE00 3.07
Deep Blue
#040273
ΔE00 3.53
Indigo (survey)
#380282
ΔE00 3.63
Dark Royal Blue
#02066F
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1081 #728110
analogous
#103981 #1F1081 #571081
triadic
#1F1081 #811F10 #10811F
tetradic
#1F1081 #811039 #728110 #108157
square
#1F1081 #811039 #728110 #108157
split-complementary
#1F1081 #815710 #398110
monochromatic
#07031B #12094B #1F1081 #2C17B7 #4027E4
Accessibility & contrast
On white
14.49
#1F1081 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1F1081 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1081
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1081 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1081 | 1.00 | 14.49 | 1.45 | 14.49 |
| #FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00247F
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1081; /* rgb */ color: rgb(31, 16, 129); /* oklch */ color: oklch(30.1% 0.171 274.8);
Tailwind
colors: {
custom: {
50: '#6d53a7',
500: '#1f1081',
950: '#000000',
},
}SCSS
$custom: #1f1081; $custom-light: #6d53a7; $custom-dark: #000000;
JSON
{
"hex": "#1f1081",
"rgb": {
"r": 31,
"g": 16,
"b": 129
},
"hsl": {
"h": 247.965,
"s": 77.931,
"l": 28.431
},
"oklch": {
"l": 0.30135,
"c": 0.17122,
"h": 274.8
},
"luminance": 0.02247
}Semantic roles & 50–950 ramp
primary
#1F1081
secondary
#A6B736
accent
#F433DB
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F