#2F3582#2F3582
#2F3582 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.128 H 274.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3582 |
|---|---|
| RGB | rgb(47, 53, 130) |
| HSL | hsl(236, 47%, 35%) |
| HSV | hsv(236, 64%, 51%) |
| CMYK | cmyk(63.8%, 59.2%, 0%, 49%) |
| CIE-LAB | lab(26.04, 22.96, -44.32) |
| CIE-LCH | lch(26.04, 49.91, 297.39°) |
| OKLab | oklab(37.15% 0.011 -0.1274) |
| OKLCH | oklch(37.15% 0.128 274.9) |
| XYZ | xyz(6.4733, 4.7617, 21.6927) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.65
Blueberry
#464196
ΔE00 5.16
Sapphire (survey)
#2138AB
ΔE00 6.29
Marine
#042E60
ΔE00 7.85
Midnight Blue
#191970
ΔE00 7.96
Cobalt (survey)
#1E488F
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3582 #827C2F
analogous
#2F5E82 #2F3582 #532F82
triadic
#2F3582 #822F35 #35822F
tetradic
#2F3582 #822F5E #827C2F #2F8253
square
#2F3582 #822F5E #827C2F #2F8253
split-complementary
#2F3582 #82532F #5E822F
monochromatic
#0E1028 #1F2355 #2F3582 #3F47AF #646BC7
Accessibility & contrast
On white
10.76
#2F3582 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F3582 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3582
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3582 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3582 | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f3582; /* rgb */ color: rgb(47, 53, 130); /* oklch */ color: oklch(37.2% 0.128 274.9);
Tailwind
colors: {
custom: {
50: '#716ca7',
500: '#2f3582',
950: '#000000',
},
}SCSS
$custom: #2f3582; $custom-light: #716ca7; $custom-dark: #000000;
JSON
{
"hex": "#2f3582",
"rgb": {
"r": 47,
"g": 53,
"b": 130
},
"hsl": {
"h": 235.663,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.37154,
"c": 0.12783,
"h": 274.9
},
"luminance": 0.04762
}Semantic roles & 50–950 ramp
primary
#2F3582
secondary
#AEA85F
accent
#CD51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F