#1F2D96#1F2D96
#1F2D96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.170 H 269.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D96 |
|---|---|
| RGB | rgb(31, 45, 150) |
| HSL | hsl(233, 66%, 35%) |
| HSV | hsv(233, 79%, 59%) |
| CMYK | cmyk(79.3%, 70%, 0%, 41.2%) |
| CIE-LAB | lab(24.86, 33.54, -58.71) |
| CIE-LCH | lch(24.86, 67.62, 299.74°) |
| OKLab | oklab(36.58% -0.0018 -0.17) |
| OKLCH | oklch(36.58% 0.17 269.4) |
| XYZ | xyz(7.0066, 4.3693, 29.3223) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.04
Royal
#0C1793
ΔE00 5.35
Indigo Blue
#3A18B1
ΔE00 6.94
Blueberry
#464196
ΔE00 6.96
Cobalt Blue
#030AA7
ΔE00 7.23
Darkslateblue
#483D8B
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D96 #96881F
analogous
#1F6896 #1F2D96 #4C1F96
triadic
#1F2D96 #961F2D #2D961F
tetradic
#1F2D96 #961F68 #96881F #1F964C
square
#1F2D96 #961F68 #96881F #1F964C
split-complementary
#1F2D96 #964C1F #68961F
monochromatic
#0A0F31 #151E63 #1F2D96 #293CC9 #5464DC
Accessibility & contrast
On white
11.21
#1F2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F2D96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D96
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D96 | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2d96; /* rgb */ color: rgb(31, 45, 150); /* oklch */ color: oklch(36.6% 0.170 269.4);
Tailwind
colors: {
custom: {
50: '#7066b6',
500: '#1f2d96',
950: '#000000',
},
}SCSS
$custom: #1f2d96; $custom-light: #7066b6; $custom-dark: #000000;
JSON
{
"hex": "#1f2d96",
"rgb": {
"r": 31,
"g": 45,
"b": 150
},
"hsl": {
"h": 232.941,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.3658,
"c": 0.17001,
"h": 269.4
},
"luminance": 0.0437
}Semantic roles & 50–950 ramp
primary
#1F2D96
secondary
#BFB252
accent
#D53FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80