#1F2F83#1F2F83
#1F2F83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.142 H 269.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F83 |
|---|---|
| RGB | rgb(31, 47, 131) |
| HSL | hsl(230, 62%, 32%) |
| HSV | hsv(230, 76%, 51%) |
| CMYK | cmyk(76.3%, 64.1%, 0%, 48.6%) |
| CIE-LAB | lab(23.55, 24.99, -49.06) |
| CIE-LCH | lch(23.55, 55.05, 296.99°) |
| OKLab | oklab(35.07% -0.0019 -0.1417) |
| OKLCH | oklch(35.07% 0.142 269.2) |
| XYZ | xyz(5.6769, 3.9624, 21.9340) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.10
Midnight Blue
#191970
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.86
Marine
#042E60
ΔE00 7.04
Blueberry
#464196
ΔE00 7.11
Royal
#0C1793
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F83 #83731F
analogous
#1F6183 #1F2F83 #411F83
triadic
#1F2F83 #831F2F #2F831F
tetradic
#1F2F83 #831F61 #83731F #1F8341
square
#1F2F83 #831F61 #83731F #1F8341
split-complementary
#1F2F83 #83411F #61831F
monochromatic
#080B20 #131D52 #1F2F83 #2B41B4 #495FD4
Accessibility & contrast
On white
11.71
#1F2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1F2F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F83
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F83 | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f2f83; /* rgb */ color: rgb(31, 47, 131); /* oklch */ color: oklch(35.1% 0.142 269.2);
Tailwind
colors: {
custom: {
50: '#6b67a8',
500: '#1f2f83',
950: '#000000',
},
}SCSS
$custom: #1f2f83; $custom-light: #6b67a8; $custom-dark: #000000;
JSON
{
"hex": "#1f2f83",
"rgb": {
"r": 31,
"g": 47,
"b": 131
},
"hsl": {
"h": 230.4,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.35068,
"c": 0.14176,
"h": 269.2
},
"luminance": 0.03963
}Semantic roles & 50–950 ramp
primary
#1F2F83
secondary
#B6A448
accent
#CB43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F