#2F3382#2F3382
#2F3382 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.131 H 275.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3382 |
|---|---|
| RGB | rgb(47, 51, 130) |
| HSL | hsl(237, 47%, 35%) |
| HSV | hsv(237, 64%, 51%) |
| CMYK | cmyk(63.8%, 60.8%, 0%, 49%) |
| CIE-LAB | lab(25.51, 24.31, -45.18) |
| CIE-LCH | lch(25.51, 51.31, 298.28°) |
| OKLab | oklab(36.76% 0.013 -0.1299) |
| OKLCH | oklch(36.76% 0.131 275.7) |
| XYZ | xyz(6.3841, 4.5832, 21.6630) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.76
Blueberry
#464196
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 6.32
Midnight Blue
#191970
ΔE00 7.37
Marine
#042E60
ΔE00 8.07
Royal
#0C1793
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3382 #827E2F
analogous
#2F5D82 #2F3382 #542F82
triadic
#2F3382 #822F33 #33822F
tetradic
#2F3382 #822F5D #827E2F #2F8254
square
#2F3382 #822F5D #827E2F #2F8254
split-complementary
#2F3382 #82542F #5D822F
monochromatic
#0E1028 #1F2155 #2F3382 #3F45AF #6469C7
Accessibility & contrast
On white
10.96
#2F3382 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2F3382 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3382
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3382 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3382 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f3382; /* rgb */ color: rgb(47, 51, 130); /* oklch */ color: oklch(36.8% 0.131 275.7);
Tailwind
colors: {
custom: {
50: '#716aa7',
500: '#2f3382',
950: '#000000',
},
}SCSS
$custom: #2f3382; $custom-light: #716aa7; $custom-dark: #000000;
JSON
{
"hex": "#2f3382",
"rgb": {
"r": 47,
"g": 51,
"b": 130
},
"hsl": {
"h": 237.108,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.36759,
"c": 0.13057,
"h": 275.7
},
"luminance": 0.04584
}Semantic roles & 50–950 ramp
primary
#2F3382
secondary
#AEAA5F
accent
#D051D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F