#1F2482#1F2482
#1F2482 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.154 H 272.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2482 |
|---|---|
| RGB | rgb(31, 36, 130) |
| HSL | hsl(237, 61%, 32%) |
| HSV | hsv(237, 76%, 51%) |
| CMYK | cmyk(76.2%, 72.3%, 0%, 49%) |
| CIE-LAB | lab(20.69, 31.96, -53.12) |
| CIE-LCH | lch(20.69, 61.99, 301.03°) |
| OKLab | oklab(32.95% 0.0053 -0.1537) |
| OKLCH | oklch(32.95% 0.154 272) |
| XYZ | xyz(5.2239, 3.1642, 21.4502) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.67
Royal
#0C1793
ΔE00 4.22
Dark Royal Blue
#02066F
ΔE00 7.05
Darkblue
#00008B
ΔE00 7.09
Cobalt Blue
#030AA7
ΔE00 7.11
Navy
#000080
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2482 #827D1F
analogous
#1F5682 #1F2482 #4C1F82
triadic
#1F2482 #821F24 #24821F
tetradic
#1F2482 #821F56 #827D1F #1F824C
square
#1F2482 #821F56 #827D1F #1F824C
split-complementary
#1F2482 #824C1F #56821F
monochromatic
#07091F #131651 #1F2482 #2B32B3 #484FD3
Accessibility & contrast
On white
12.86
#1F2482 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1F2482 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2482
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2482 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2482 | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f2482; /* rgb */ color: rgb(31, 36, 130); /* oklch */ color: oklch(33.0% 0.154 272.0);
Tailwind
colors: {
custom: {
50: '#6c5fa7',
500: '#1f2482',
950: '#000000',
},
}SCSS
$custom: #1f2482; $custom-light: #6c5fa7; $custom-dark: #000000;
JSON
{
"hex": "#1f2482",
"rgb": {
"r": 31,
"g": 36,
"b": 130
},
"hsl": {
"h": 236.97,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.32954,
"c": 0.15377,
"h": 272
},
"luminance": 0.03165
}Semantic roles & 50–950 ramp
primary
#1F2482
secondary
#B5AF48
accent
#DC43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F