#2E2FB0#2E2FB0
#2E2FB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.197 H 272.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2FB0 |
|---|---|
| RGB | rgb(46, 47, 176) |
| HSL | hsl(240, 59%, 44%) |
| HSV | hsv(240, 74%, 69%) |
| CMYK | cmyk(73.9%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(28.77, 42.91, -68.00) |
| CIE-LCH | lch(28.77, 80.40, 302.25°) |
| OKLab | oklab(40.41% 0.01 -0.1967) |
| OKLCH | oklch(40.41% 0.197 272.9) |
| XYZ | xyz(9.9771, 5.7474, 41.6494) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Indigo Blue
#3A18B1
ΔE00 4.76
True Blue
#010FCC
ΔE00 5.96
Ocean Blue
#4F42B5
ΔE00 6.05
Blue Blue
#2242C7
ΔE00 6.05
Blue With A Hint Of Purple
#533CC6
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2FB0 #B0AF2E
analogous
#2E70B0 #2E2FB0 #6E2EB0
triadic
#2E2FB0 #B02E2F #2FB02E
tetradic
#2E2FB0 #B02E70 #B0AF2E #2EB06E
square
#2E2FB0 #B02E70 #B0AF2E #2EB06E
split-complementary
#2E2FB0 #B06E2E #70B02E
monochromatic
#15154F #21227F #2E2FB0 #4B4CD0 #7C7CDD
Accessibility & contrast
On white
9.77
#2E2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2E2FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2FB0
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2FB0 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2e2fb0; /* rgb */ color: rgb(46, 47, 176); /* oklch */ color: oklch(40.4% 0.197 272.9);
Tailwind
colors: {
custom: {
50: '#7b69c9',
500: '#2e2fb0',
950: '#000000',
},
}SCSS
$custom: #2e2fb0; $custom-light: #7b69c9; $custom-dark: #000000;
JSON
{
"hex": "#2e2fb0",
"rgb": {
"r": 46,
"g": 47,
"b": 176
},
"hsl": {
"h": 239.538,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.40405,
"c": 0.197,
"h": 272.9
},
"luminance": 0.05748
}Semantic roles & 50–950 ramp
primary
#2E2FB0
secondary
#C5C475
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82