#2E27A3#2E27A3
#2E27A3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.189 H 275.0°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2E27A3 |
|---|---|
| RGB | rgb(46, 39, 163) |
| HSL | hsl(243, 61%, 40%) |
| HSV | hsv(243, 76%, 64%) |
| CMYK | cmyk(71.8%, 76.1%, 0%, 36.1%) |
| CIE-LAB | lab(25.79, 43.13, -65.08) |
| CIE-LCH | lch(25.79, 78.08, 303.53°) |
| OKLab | oklab(37.89% 0.0165 -0.1882) |
| OKLCH | oklch(37.89% 0.189 275) |
| XYZ | xyz(8.4609, 4.6754, 35.0998) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.62
Royal
#0C1793
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 5.03
Cobalt Blue
#030AA7
ΔE00 5.26
Ultramarine
#2000B1
ΔE00 5.57
Royal Blue (survey)
#0504AA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E27A3 #9CA327
analogous
#275EA3 #2E27A3 #6C27A3
triadic
#2E27A3 #A32E27 #27A32E
tetradic
#2E27A3 #A3275E #9CA327 #27A36C
square
#2E27A3 #A3275E #9CA327 #27A36C
split-complementary
#2E27A3 #A36C27 #5EA327
monochromatic
#120F40 #201B72 #2E27A3 #4038CF #7069DB
Accessibility & contrast
On white
10.85
#2E27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2E27A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E27A3
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E27A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E27A3 | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e27a3; /* rgb */ color: rgb(46, 39, 163); /* oklch */ color: oklch(37.9% 0.189 275.0);
Tailwind
colors: {
custom: {
50: '#7963bf',
500: '#2e27a3',
950: '#000000',
},
}SCSS
$custom: #2e27a3; $custom-light: #7963bf; $custom-dark: #000000;
JSON
{
"hex": "#2e27a3",
"rgb": {
"r": 46,
"g": 39,
"b": 163
},
"hsl": {
"h": 243.387,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.37887,
"c": 0.18892,
"h": 275
},
"luminance": 0.04676
}Semantic roles & 50–950 ramp
primary
#2E27A3
secondary
#BCC164
accent
#E443DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81