#1F1982#1F1982
#1F1982 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.165 H 273.7°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1982 |
|---|---|
| RGB | rgb(31, 25, 130) |
| HSL | hsl(243, 68%, 30%) |
| HSV | hsv(243, 81%, 51%) |
| CMYK | cmyk(76.2%, 80.8%, 0%, 49%) |
| CIE-LAB | lab(18.36, 38.52, -56.97) |
| CIE-LCH | lch(18.36, 68.77, 304.06°) |
| OKLab | oklab(31.3% 0.0108 -0.1648) |
| OKLCH | oklch(31.3% 0.165 273.7) |
| XYZ | xyz(4.9406, 2.5978, 21.3558) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.66
Midnight Blue
#191970
ΔE00 2.99
Darkblue
#00008B
ΔE00 4.40
Navy
#000080
ΔE00 4.53
Dark Royal Blue
#02066F
ΔE00 4.77
Indigo (survey)
#380282
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1982 #7C8219
analogous
#194782 #1F1982 #541982
triadic
#1F1982 #821F19 #19821F
tetradic
#1F1982 #821947 #7C8219 #198254
square
#1F1982 #821947 #7C8219 #198254
split-complementary
#1F1982 #825419 #478219
monochromatic
#07051B #130F4F #1F1982 #2B23B5 #453CD9
Accessibility & contrast
On white
13.82
#1F1982 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1F1982 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1982
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1982 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1982 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1f1982; /* rgb */ color: rgb(31, 25, 130); /* oklch */ color: oklch(31.3% 0.165 273.7);
Tailwind
colors: {
custom: {
50: '#6d58a8',
500: '#1f1982',
950: '#000000',
},
}SCSS
$custom: #1f1982; $custom-light: #6d58a8; $custom-dark: #000000;
JSON
{
"hex": "#1f1982",
"rgb": {
"r": 31,
"g": 25,
"b": 130
},
"hsl": {
"h": 243.429,
"s": 67.742,
"l": 30.392
},
"oklch": {
"l": 0.31296,
"c": 0.16516,
"h": 273.7
},
"luminance": 0.02598
}Semantic roles & 50–950 ramp
primary
#1F1982
secondary
#AFB641
accent
#EB3DE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F