#2E27AB#2E27AB
#2E27AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.199 H 274.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2E27AB |
|---|---|
| RGB | rgb(46, 39, 171) |
| HSL | hsl(243, 63%, 41%) |
| HSV | hsv(243, 77%, 67%) |
| CMYK | cmyk(73.1%, 77.2%, 0%, 32.9%) |
| CIE-LAB | lab(26.65, 45.73, -68.49) |
| CIE-LCH | lch(26.65, 82.35, 303.73°) |
| OKLab | oklab(38.75% 0.0147 -0.1981) |
| OKLCH | oklch(38.75% 0.199 274.2) |
| XYZ | xyz(9.2005, 4.9712, 38.9948) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.11
Sapphire (survey)
#2138AB
ΔE00 4.93
True Blue
#010FCC
ΔE00 5.02
Cobalt Blue
#030AA7
ΔE00 5.33
Ultramarine
#2000B1
ΔE00 5.34
Royal
#0C1793
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E27AB #A4AB27
analogous
#2762AB #2E27AB #7027AB
triadic
#2E27AB #AB2E27 #27AB2E
tetradic
#2E27AB #AB2762 #A4AB27 #27AB70
square
#2E27AB #AB2762 #A4AB27 #27AB70
split-complementary
#2E27AB #AB7027 #62AB27
monochromatic
#131047 #211C79 #2E27AB #453DD3 #746EDE
Accessibility & contrast
On white
10.53
#2E27AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E27AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E27AB
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E27AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E27AB | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e27ab; /* rgb */ color: rgb(46, 39, 171); /* oklch */ color: oklch(38.8% 0.199 274.2);
Tailwind
colors: {
custom: {
50: '#7b64c5',
500: '#2e27ab',
950: '#000000',
},
}SCSS
$custom: #2e27ab; $custom-light: #7b64c5; $custom-dark: #000000;
JSON
{
"hex": "#2e27ab",
"rgb": {
"r": 46,
"g": 39,
"b": 171
},
"hsl": {
"h": 243.182,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.38752,
"c": 0.19866,
"h": 274.2
},
"luminance": 0.04972
}Semantic roles & 50–950 ramp
primary
#2E27AB
secondary
#C0C569
accent
#E642DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82