#2E1DB1#2E1DB1

#2E1DB1 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.3% C 0.214 H 274.5°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2E1DB1
RGBrgb(46, 29, 177)
HSLhsl(247, 72%, 40%)
HSVhsv(247, 84%, 69%)
CMYKcmyk(74%, 83.6%, 0%, 30.6%)
CIE-LABlab(25.66, 52.46, -73.73)
CIE-LCHlch(25.66, 90.49, 305.43°)
OKLaboklab(38.26% 0.0169 -0.2132)
OKLCHoklch(38.26% 0.214 274.5)
XYZxyz(9.4993, 4.6329, 41.9801)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1DB1 #A0B11D
analogous
#1D56B1 #2E1DB1 #781DB1
triadic
#2E1DB1 #B12E1D #1DB12E
tetradic
#2E1DB1 #B11D56 #A0B11D #1DB178
square
#2E1DB1 #B11D56 #A0B11D #1DB178
split-complementary
#2E1DB1 #B1781D #56B11D
monochromatic
#130C48 #20147C #2E1DB1 #422EDD #7263E5

Accessibility & contrast

On white

10.90
#2E1DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E1DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1DB1
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1DB1#FFFFFF#000000##FFFFFF
##2E1DB11.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0036AF
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e1db1;
/* rgb */ color: rgb(46, 29, 177);
/* oklch */ color: oklch(38.3% 0.214 274.5);
Tailwind
colors: {
  custom: {
    50: '#7d5fca',
    500: '#2e1db1',
    950: '#000000',
  },
}
SCSS
$custom: #2e1db1;
$custom-light: #7d5fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1db1",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 177
  },
  "hsl": {
    "h": 246.892,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38262,
    "c": 0.21385,
    "h": 274.5
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#2E1DB1
secondary
#BECA60
accent
#EF39DA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #2E1DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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