#2F2E9B#2F2E9B
#2F2E9B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.171 H 275.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E9B |
|---|---|
| RGB | rgb(47, 46, 155) |
| HSL | hsl(241, 54%, 39%) |
| HSV | hsv(241, 70%, 61%) |
| CMYK | cmyk(69.7%, 70.3%, 0%, 39.2%) |
| CIE-LAB | lab(26.52, 36.44, -59.01) |
| CIE-LCH | lch(26.52, 69.35, 301.69°) |
| OKLab | oklab(38.18% 0.0151 -0.1705) |
| OKLCH | oklch(38.18% 0.171 275) |
| XYZ | xyz(8.0637, 4.9241, 31.5295) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Indigo Blue
#3A18B1
ΔE00 5.71
Royal
#0C1793
ΔE00 5.76
Blueberry
#464196
ΔE00 6.06
Darkslateblue
#483D8B
ΔE00 6.34
Cobalt Blue
#030AA7
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E9B #9A9B2E
analogous
#2E649B #2F2E9B #652E9B
triadic
#2F2E9B #9B2F2E #2E9B2F
tetradic
#2F2E9B #9B2E64 #9A9B2E #2E9B65
square
#2F2E9B #9B2E64 #9A9B2E #2E9B65
split-complementary
#2F2E9B #9B652E #649B2E
monochromatic
#12123D #21206C #2F2E9B #4140C6 #706FD4
Accessibility & contrast
On white
10.58
#2F2E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F2E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E9B
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E9B | 1.00 | 10.58 | 1.99 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2e9b; /* rgb */ color: rgb(47, 46, 155); /* oklch */ color: oklch(38.2% 0.171 275.0);
Tailwind
colors: {
custom: {
50: '#7767ba',
500: '#2f2e9b',
950: '#000000',
},
}SCSS
$custom: #2f2e9b; $custom-light: #7767ba; $custom-dark: #000000;
JSON
{
"hex": "#2f2e9b",
"rgb": {
"r": 47,
"g": 46,
"b": 155
},
"hsl": {
"h": 240.55,
"s": 54.229,
"l": 39.412
},
"oklch": {
"l": 0.3818,
"c": 0.17115,
"h": 275
},
"luminance": 0.04925
}Semantic roles & 50–950 ramp
primary
#2F2E9B
secondary
#BBBC69
accent
#DE4ADC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81