#2E1EAD#2E1EAD

#2E1EAD is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.209 H 274.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2E1EAD
RGBrgb(46, 30, 173)
HSLhsl(247, 70%, 40%)
HSVhsv(247, 83%, 68%)
CMYKcmyk(73.4%, 82.7%, 0%, 32.2%)
CIE-LABlab(25.34, 50.82, -71.87)
CIE-LCHlch(25.34, 88.02, 305.26°)
OKLaboklab(37.9% 0.0177 -0.2078)
OKLCHoklch(37.9% 0.209 274.9)
XYZxyz(9.1313, 4.5256, 39.9194)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1EAD #9DAD1E
analogous
#1E56AD #2E1EAD #751EAD
triadic
#2E1EAD #AD2E1E #1EAD2E
tetradic
#2E1EAD #AD1E56 #9DAD1E #1EAD75
square
#2E1EAD #AD1E56 #9DAD1E #1EAD75
split-complementary
#2E1EAD #AD751E #56AD1E
monochromatic
#120C45 #201579 #2E1EAD #412EDB #7062E4

Accessibility & contrast

On white

11.02
#2E1EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E1EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1EAD
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1EAD#FFFFFF#000000##FFFFFF
##2E1EAD1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e1ead;
/* rgb */ color: rgb(46, 30, 173);
/* oklch */ color: oklch(37.9% 0.209 274.9);
Tailwind
colors: {
  custom: {
    50: '#7c5fc7',
    500: '#2e1ead',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ead;
$custom-light: #7c5fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ead",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 173
  },
  "hsl": {
    "h": 246.713,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37902,
    "c": 0.20856,
    "h": 274.9
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#2E1EAD
secondary
#BDC85E
accent
#ED3BD9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E1EAD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E1EAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva