#2E1DAD#2E1DAD

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

Color values

HEX#2E1DAD
RGBrgb(46, 29, 173)
HSLhsl(247, 71%, 40%)
HSVhsv(247, 83%, 68%)
CMYKcmyk(73.4%, 83.2%, 0%, 32.2%)
CIE-LABlab(25.19, 51.27, -72.12)
CIE-LCHlch(25.19, 88.49, 305.41°)
OKLaboklab(37.8% 0.0181 -0.2085)
OKLCHoklch(37.8% 0.209 275)
XYZxyz(9.1064, 4.4758, 39.9111)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1DAD #9CAD1D
analogous
#1D54AD #2E1DAD #761DAD
triadic
#2E1DAD #AD2E1D #1DAD2E
tetradic
#2E1DAD #AD1D54 #9CAD1D #1DAD76
square
#2E1DAD #AD1D54 #9CAD1D #1DAD76
split-complementary
#2E1DAD #AD761D #54AD1D
monochromatic
#120B44 #201479 #2E1DAD #402CDC #7060E4

Accessibility & contrast

On white

11.08
#2E1DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E1DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1DAD
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1DAD#FFFFFF#000000##FFFFFF
##2E1DAD1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1dad;
/* rgb */ color: rgb(46, 29, 173);
/* oklch */ color: oklch(37.8% 0.209 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c5ec7',
    500: '#2e1dad',
    950: '#000000',
  },
}
SCSS
$custom: #2e1dad;
$custom-light: #7c5ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1dad",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 173
  },
  "hsl": {
    "h": 247.083,
    "s": 71.287,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37797,
    "c": 0.20929,
    "h": 275
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#2E1DAD
secondary
#BCC95D
accent
#EE3AD9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E1DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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