#1F2F82#1F2F82
#1F2F82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.140 H 269.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F82 |
|---|---|
| RGB | rgb(31, 47, 130) |
| HSL | hsl(230, 61%, 32%) |
| HSV | hsv(230, 76%, 51%) |
| CMYK | cmyk(76.2%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(23.46, 24.60, -48.58) |
| CIE-LCH | lch(23.46, 54.45, 296.86°) |
| OKLab | oklab(34.97% -0.0018 -0.1403) |
| OKLCH | oklch(34.97% 0.14 269.3) |
| XYZ | xyz(5.6095, 3.9354, 21.5788) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.25
Midnight Blue
#191970
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 6.89
Marine
#042E60
ΔE00 6.90
Blueberry
#464196
ΔE00 7.17
Royal
#0C1793
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F82 #82721F
analogous
#1F6182 #1F2F82 #411F82
triadic
#1F2F82 #821F2F #2F821F
tetradic
#1F2F82 #821F61 #82721F #1F8241
square
#1F2F82 #821F61 #82721F #1F8241
split-complementary
#1F2F82 #82411F #61821F
monochromatic
#070B1F #131D51 #1F2F82 #2B41B3 #485FD3
Accessibility & contrast
On white
11.75
#1F2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1F2F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F82
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F82 | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f2f82; /* rgb */ color: rgb(31, 47, 130); /* oklch */ color: oklch(35.0% 0.140 269.3);
Tailwind
colors: {
custom: {
50: '#6b67a7',
500: '#1f2f82',
950: '#000000',
},
}SCSS
$custom: #1f2f82; $custom-light: #6b67a7; $custom-dark: #000000;
JSON
{
"hex": "#1f2f82",
"rgb": {
"r": 31,
"g": 47,
"b": 130
},
"hsl": {
"h": 230.303,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.34974,
"c": 0.14035,
"h": 269.3
},
"luminance": 0.03936
}Semantic roles & 50–950 ramp
primary
#1F2F82
secondary
#B5A348
accent
#CB43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F