#1F2B96#1F2B96
#1F2B96 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.172 H 269.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B96 |
|---|---|
| RGB | rgb(31, 43, 150) |
| HSL | hsl(234, 66%, 35%) |
| HSV | hsv(234, 79%, 59%) |
| CMYK | cmyk(79.3%, 71.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.39, 34.82, -59.49) |
| CIE-LCH | lch(24.39, 68.93, 300.34°) |
| OKLab | oklab(36.24% -0.0008 -0.1723) |
| OKLCH | oklch(36.24% 0.172 269.7) |
| XYZ | xyz(6.9321, 4.2203, 29.2975) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Royal
#0C1793
ΔE00 4.79
Indigo Blue
#3A18B1
ΔE00 6.52
Cobalt Blue
#030AA7
ΔE00 6.69
Midnight Blue
#191970
ΔE00 6.90
Royal Blue (survey)
#0504AA
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B96 #968A1F
analogous
#1F6696 #1F2B96 #4F1F96
triadic
#1F2B96 #961F2B #2B961F
tetradic
#1F2B96 #961F66 #968A1F #1F964F
square
#1F2B96 #961F66 #968A1F #1F964F
split-complementary
#1F2B96 #964F1F #66961F
monochromatic
#0A0E31 #151C63 #1F2B96 #293AC9 #5461DC
Accessibility & contrast
On white
11.39
#1F2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F2B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B96
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B96 | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2b96; /* rgb */ color: rgb(31, 43, 150); /* oklch */ color: oklch(36.2% 0.172 269.7);
Tailwind
colors: {
custom: {
50: '#7065b6',
500: '#1f2b96',
950: '#000000',
},
}SCSS
$custom: #1f2b96; $custom-light: #7065b6; $custom-dark: #000000;
JSON
{
"hex": "#1f2b96",
"rgb": {
"r": 31,
"g": 43,
"b": 150
},
"hsl": {
"h": 233.95,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.36241,
"c": 0.17226,
"h": 269.7
},
"luminance": 0.04221
}Semantic roles & 50–950 ramp
primary
#1F2B96
secondary
#BFB452
accent
#D83FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80