#2F2E91#2F2E91
#2F2E91 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.158 H 275.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E91 |
|---|---|
| RGB | rgb(47, 46, 145) |
| HSL | hsl(241, 52%, 37%) |
| HSV | hsv(241, 68%, 57%) |
| CMYK | cmyk(67.6%, 68.3%, 0%, 43.1%) |
| CIE-LAB | lab(25.57, 32.95, -54.42) |
| CIE-LCH | lch(25.57, 63.62, 301.19°) |
| OKLab | oklab(37.21% 0.0164 -0.1571) |
| OKLCH | oklch(37.21% 0.158 275.9) |
| XYZ | xyz(7.2584, 4.6020, 27.2883) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.76
Darkslateblue
#483D8B
ΔE00 5.74
Royal
#0C1793
ΔE00 5.84
Blueberry
#464196
ΔE00 5.89
Indigo Blue
#3A18B1
ΔE00 6.81
Midnight Blue
#191970
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E91 #90912E
analogous
#2E5F91 #2F2E91 #602E91
triadic
#2F2E91 #912F2E #2E912F
tetradic
#2F2E91 #912E5F #90912E #2E9160
square
#2F2E91 #912E5F #90912E #2E9160
split-complementary
#2F2E91 #91602E #5F912E
monochromatic
#111134 #201F63 #2F2E91 #3E3DBF #6B6AD0
Accessibility & contrast
On white
10.93
#2F2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2F2E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E91
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E91 | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2e91; /* rgb */ color: rgb(47, 46, 145); /* oklch */ color: oklch(37.2% 0.158 275.9);
Tailwind
colors: {
custom: {
50: '#7567b2',
500: '#2f2e91',
950: '#000000',
},
}SCSS
$custom: #2f2e91; $custom-light: #7567b2; $custom-dark: #000000;
JSON
{
"hex": "#2f2e91",
"rgb": {
"r": 47,
"g": 46,
"b": 145
},
"hsl": {
"h": 240.606,
"s": 51.832,
"l": 37.451
},
"oklch": {
"l": 0.37206,
"c": 0.15793,
"h": 275.9
},
"luminance": 0.04603
}Semantic roles & 50–950 ramp
primary
#2F2E91
secondary
#B6B764
accent
#DB4DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80