#2E2FB2#2E2FB2
#2E2FB2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.199 H 272.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2FB2 |
|---|---|
| RGB | rgb(46, 47, 178) |
| HSL | hsl(240, 59%, 44%) |
| HSV | hsv(240, 74%, 70%) |
| CMYK | cmyk(74.2%, 73.6%, 0%, 30.2%) |
| CIE-LAB | lab(28.97, 43.58, -68.85) |
| CIE-LCH | lch(28.97, 81.48, 302.33°) |
| OKLab | oklab(40.61% 0.0096 -0.1992) |
| OKLCH | oklch(40.61% 0.199 272.8) |
| XYZ | xyz(10.1764, 5.8272, 42.6993) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Indigo Blue
#3A18B1
ΔE00 4.74
True Blue
#010FCC
ΔE00 5.83
Blue Blue
#2242C7
ΔE00 5.92
Ocean Blue
#4F42B5
ΔE00 5.99
Blue With A Hint Of Purple
#533CC6
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2FB2 #B2B12E
analogous
#2E71B2 #2E2FB2 #6F2EB2
triadic
#2E2FB2 #B22E2F #2FB22E
tetradic
#2E2FB2 #B22E71 #B2B12E #2EB26F
square
#2E2FB2 #B22E71 #B2B12E #2EB26F
split-complementary
#2E2FB2 #B26F2E #71B22E
monochromatic
#151551 #212281 #2E2FB2 #4C4DD1 #7D7EDD
Accessibility & contrast
On white
9.70
#2E2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2E2FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2FB2
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2FB2 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2e2fb2; /* rgb */ color: rgb(46, 47, 178); /* oklch */ color: oklch(40.6% 0.199 272.8);
Tailwind
colors: {
custom: {
50: '#7c69ca',
500: '#2e2fb2',
950: '#000000',
},
}SCSS
$custom: #2e2fb2; $custom-light: #7c69ca; $custom-dark: #000000;
JSON
{
"hex": "#2e2fb2",
"rgb": {
"r": 46,
"g": 47,
"b": 178
},
"hsl": {
"h": 239.545,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.40614,
"c": 0.19947,
"h": 272.8
},
"luminance": 0.05828
}Semantic roles & 50–950 ramp
primary
#2E2FB2
secondary
#C6C576
accent
#E146E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82