#1F1882#1F1882
#1F1882 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.166 H 273.9°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1882 |
|---|---|
| RGB | rgb(31, 24, 130) |
| HSL | hsl(244, 69%, 30%) |
| HSV | hsv(244, 82%, 51%) |
| CMYK | cmyk(76.2%, 81.5%, 0%, 49%) |
| CIE-LAB | lab(18.17, 39.06, -57.28) |
| CIE-LCH | lch(18.17, 69.33, 304.29°) |
| OKLab | oklab(31.17% 0.0112 -0.1657) |
| OKLCH | oklch(31.17% 0.166 273.9) |
| XYZ | xyz(4.9196, 2.5558, 21.3488) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.63
Midnight Blue
#191970
ΔE00 3.06
Darkblue
#00008B
ΔE00 4.20
Navy
#000080
ΔE00 4.33
Dark Royal Blue
#02066F
ΔE00 4.62
Indigo (survey)
#380282
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1882 #7B8218
analogous
#184682 #1F1882 #541882
triadic
#1F1882 #821F18 #18821F
tetradic
#1F1882 #821846 #7B8218 #188254
square
#1F1882 #821846 #7B8218 #188254
split-complementary
#1F1882 #825418 #468218
monochromatic
#06051B #130E4E #1F1882 #2B22B6 #443ADB
Accessibility & contrast
On white
13.90
#1F1882 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1F1882 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1882
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1882 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1882 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002780
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1f1882; /* rgb */ color: rgb(31, 24, 130); /* oklch */ color: oklch(31.2% 0.166 273.9);
Tailwind
colors: {
custom: {
50: '#6d58a8',
500: '#1f1882',
950: '#000000',
},
}SCSS
$custom: #1f1882; $custom-light: #6d58a8; $custom-dark: #000000;
JSON
{
"hex": "#1f1882",
"rgb": {
"r": 31,
"g": 24,
"b": 130
},
"hsl": {
"h": 243.962,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.31166,
"c": 0.16607,
"h": 273.9
},
"luminance": 0.02556
}Semantic roles & 50–950 ramp
primary
#1F1882
secondary
#AEB640
accent
#EC3CE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F