#1F2F85#1F2F85
#1F2F85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.145 H 269.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F85 |
|---|---|
| RGB | rgb(31, 47, 133) |
| HSL | hsl(231, 62%, 32%) |
| HSV | hsv(231, 77%, 52%) |
| CMYK | cmyk(76.7%, 64.7%, 0%, 47.8%) |
| CIE-LAB | lab(23.73, 25.76, -50.02) |
| CIE-LCH | lch(23.73, 56.26, 297.25°) |
| OKLab | oklab(35.26% -0.0019 -0.1446) |
| OKLCH | oklch(35.26% 0.145 269.2) |
| XYZ | xyz(5.8138, 4.0172, 22.6547) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.82
Midnight Blue
#191970
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.82
Royal
#0C1793
ΔE00 6.94
Blueberry
#464196
ΔE00 7.00
Marine
#042E60
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F85 #85751F
analogous
#1F6285 #1F2F85 #421F85
triadic
#1F2F85 #851F2F #2F851F
tetradic
#1F2F85 #851F62 #85751F #1F8542
square
#1F2F85 #851F62 #85751F #1F8542
split-complementary
#1F2F85 #85421F #62851F
monochromatic
#080C22 #131D53 #1F2F85 #2B41B7 #4A5FD5
Accessibility & contrast
On white
11.64
#1F2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1F2F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F85
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F85 | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f2f85; /* rgb */ color: rgb(31, 47, 133); /* oklch */ color: oklch(35.3% 0.145 269.2);
Tailwind
colors: {
custom: {
50: '#6b67a9',
500: '#1f2f85',
950: '#000000',
},
}SCSS
$custom: #1f2f85; $custom-light: #6b67a9; $custom-dark: #000000;
JSON
{
"hex": "#1f2f85",
"rgb": {
"r": 31,
"g": 47,
"b": 133
},
"hsl": {
"h": 230.588,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.35258,
"c": 0.14457,
"h": 269.2
},
"luminance": 0.04018
}Semantic roles & 50–950 ramp
primary
#1F2F85
secondary
#B7A649
accent
#CC43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F