#2F3782#2F3782
#2F3782 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.125 H 274.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3782 |
|---|---|
| RGB | rgb(47, 55, 130) |
| HSL | hsl(234, 47%, 35%) |
| HSV | hsv(234, 64%, 51%) |
| CMYK | cmyk(63.8%, 57.7%, 0%, 49%) |
| CIE-LAB | lab(26.59, 21.60, -43.44) |
| CIE-LCH | lch(26.59, 48.52, 296.44°) |
| OKLab | oklab(37.56% 0.009 -0.1248) |
| OKLCH | oklch(37.56% 0.125 274.1) |
| XYZ | xyz(6.5664, 4.9479, 21.7238) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.64
Blueberry
#464196
ΔE00 5.00
Sapphire (survey)
#2138AB
ΔE00 6.32
Cobalt (survey)
#1E488F
ΔE00 7.34
Darkish Blue
#014182
ΔE00 7.62
Marine
#042E60
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3782 #827A2F
analogous
#2F6182 #2F3782 #512F82
triadic
#2F3782 #822F37 #37822F
tetradic
#2F3782 #822F61 #827A2F #2F8251
square
#2F3782 #822F61 #827A2F #2F8251
split-complementary
#2F3782 #82512F #61822F
monochromatic
#0E1128 #1F2455 #2F3782 #3F4AAF #646EC7
Accessibility & contrast
On white
10.55
#2F3782 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F3782 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3782
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3782 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3782 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f3782; /* rgb */ color: rgb(47, 55, 130); /* oklch */ color: oklch(37.6% 0.125 274.1);
Tailwind
colors: {
custom: {
50: '#716da7',
500: '#2f3782',
950: '#000000',
},
}SCSS
$custom: #2f3782; $custom-light: #716da7; $custom-dark: #000000;
JSON
{
"hex": "#2f3782",
"rgb": {
"r": 47,
"g": 55,
"b": 130
},
"hsl": {
"h": 234.217,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.37558,
"c": 0.12508,
"h": 274.1
},
"luminance": 0.04948
}Semantic roles & 50–950 ramp
primary
#2F3782
secondary
#AEA65F
accent
#CA51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F