#2F2E95#2F2E95
#2F2E95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.163 H 275.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E95 |
|---|---|
| RGB | rgb(47, 46, 149) |
| HSL | hsl(241, 53%, 38%) |
| HSV | hsv(241, 69%, 58%) |
| CMYK | cmyk(68.5%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.94, 34.35, -56.28) |
| CIE-LCH | lch(25.94, 65.93, 301.40°) |
| OKLab | oklab(37.59% 0.0159 -0.1625) |
| OKLCH | oklch(37.59% 0.163 275.6) |
| XYZ | xyz(7.5723, 4.7276, 28.9414) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.36
Royal
#0C1793
ΔE00 5.75
Blueberry
#464196
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 6.34
Midnight Blue
#191970
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E95 #94952E
analogous
#2E6095 #2F2E95 #632E95
triadic
#2F2E95 #952F2E #2E952F
tetradic
#2F2E95 #952E60 #94952E #2E9563
square
#2F2E95 #952E60 #94952E #2E9563
split-complementary
#2F2E95 #95632E #60952E
monochromatic
#111137 #202066 #2F2E95 #3E3DC3 #6D6CD2
Accessibility & contrast
On white
10.79
#2F2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F2E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E95
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E95 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2e95; /* rgb */ color: rgb(47, 46, 149); /* oklch */ color: oklch(37.6% 0.163 275.6);
Tailwind
colors: {
custom: {
50: '#7667b5',
500: '#2f2e95',
950: '#000000',
},
}SCSS
$custom: #2f2e95; $custom-light: #7667b5; $custom-dark: #000000;
JSON
{
"hex": "#2f2e95",
"rgb": {
"r": 47,
"g": 46,
"b": 149
},
"hsl": {
"h": 240.583,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.37592,
"c": 0.16326,
"h": 275.6
},
"luminance": 0.04728
}Semantic roles & 50–950 ramp
primary
#2F2E95
secondary
#B8B966
accent
#DC4CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80