#2E1DA7#2E1DA7

#2E1DA7 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.202 H 275.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2E1DA7
RGBrgb(46, 29, 167)
HSLhsl(247, 70%, 38%)
HSVhsv(247, 83%, 65%)
CMYKcmyk(72.5%, 82.6%, 0%, 34.5%)
CIE-LABlab(24.48, 49.46, -69.68)
CIE-LCHlch(24.48, 85.45, 305.37°)
OKLaboklab(37.1% 0.0198 -0.2014)
OKLCHoklch(37.1% 0.202 275.6)
XYZxyz(8.5388, 4.2488, 36.9218)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1DA7 #96A71D
analogous
#1D51A7 #2E1DA7 #731DA7
triadic
#2E1DA7 #A72E1D #1DA72E
tetradic
#2E1DA7 #A71D51 #96A71D #1DA773
square
#2E1DA7 #A71D51 #96A71D #1DA773
split-complementary
#2E1DA7 #A7731D #51A71D
monochromatic
#110B3F #201473 #2E1DA7 #3E28DA #6C5CE3

Accessibility & contrast

On white

11.35
#2E1DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E1DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1DA7
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1DA7#FFFFFF#000000##FFFFFF
##2E1DA71.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e1da7;
/* rgb */ color: rgb(46, 29, 167);
/* oklch */ color: oklch(37.1% 0.202 275.6);
Tailwind
colors: {
  custom: {
    50: '#7b5ec3',
    500: '#2e1da7',
    950: '#000000',
  },
}
SCSS
$custom: #2e1da7;
$custom-light: #7b5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1da7",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 247.391,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.20239,
    "h": 275.6
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#2E1DA7
secondary
#B9C759
accent
#ED3BD7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E1DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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