#1F2082#1F2082
#1F2082 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.158 H 272.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2082 |
|---|---|
| RGB | rgb(31, 32, 130) |
| HSL | hsl(239, 61%, 32%) |
| HSV | hsv(239, 76%, 51%) |
| CMYK | cmyk(76.2%, 75.4%, 0%, 49%) |
| CIE-LAB | lab(19.78, 34.46, -54.61) |
| CIE-LCH | lch(19.78, 64.57, 302.26°) |
| OKLab | oklab(32.31% 0.0075 -0.158) |
| OKLCH | oklch(32.31% 0.158 272.7) |
| XYZ | xyz(5.1095, 2.9355, 21.4121) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.11
Royal
#0C1793
ΔE00 3.41
Darkblue
#00008B
ΔE00 6.02
Dark Royal Blue
#02066F
ΔE00 6.09
Navy
#000080
ΔE00 6.18
Cobalt Blue
#030AA7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2082 #82811F
analogous
#1F5282 #1F2082 #501F82
triadic
#1F2082 #821F20 #20821F
tetradic
#1F2082 #821F52 #82811F #1F8250
square
#1F2082 #821F52 #82811F #1F8250
split-complementary
#1F2082 #82501F #52821F
monochromatic
#07081F #131451 #1F2082 #2B2CB3 #4849D3
Accessibility & contrast
On white
13.23
#1F2082 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1F2082 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2082
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2082 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2082 | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f2082; /* rgb */ color: rgb(31, 32, 130); /* oklch */ color: oklch(32.3% 0.158 272.7);
Tailwind
colors: {
custom: {
50: '#6c5ca7',
500: '#1f2082',
950: '#000000',
},
}SCSS
$custom: #1f2082; $custom-light: #6c5ca7; $custom-dark: #000000;
JSON
{
"hex": "#1f2082",
"rgb": {
"r": 31,
"g": 32,
"b": 130
},
"hsl": {
"h": 239.394,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.32305,
"c": 0.1582,
"h": 272.7
},
"luminance": 0.02936
}Semantic roles & 50–950 ramp
primary
#1F2082
secondary
#B5B448
accent
#E343E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F