#2E1DA6#2E1DA6

#2E1DA6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.0% C 0.201 H 275.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2E1DA6
RGBrgb(46, 29, 166)
HSLhsl(247, 70%, 38%)
HSVhsv(247, 83%, 65%)
CMYKcmyk(72.3%, 82.5%, 0%, 34.9%)
CIE-LABlab(24.36, 49.16, -69.27)
CIE-LCHlch(24.36, 84.94, 305.37°)
OKLaboklab(36.99% 0.0201 -0.2002)
OKLCHoklch(36.99% 0.201 275.7)
XYZxyz(8.4468, 4.2119, 36.4368)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1DA6 #95A61D
analogous
#1D51A6 #2E1DA6 #721DA6
triadic
#2E1DA6 #A62E1D #1DA62E
tetradic
#2E1DA6 #A61D51 #95A61D #1DA672
square
#2E1DA6 #A61D51 #95A61D #1DA672
split-complementary
#2E1DA6 #A6721D #51A61D
monochromatic
#110B3E #201472 #2E1DA6 #3D27D9 #6C5BE2

Accessibility & contrast

On white

11.40
#2E1DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E1DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1DA6
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1DA6#FFFFFF#000000##FFFFFF
##2E1DA61.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e1da6;
/* rgb */ color: rgb(46, 29, 166);
/* oklch */ color: oklch(37.0% 0.201 275.7);
Tailwind
colors: {
  custom: {
    50: '#7b5ec2',
    500: '#2e1da6',
    950: '#000000',
  },
}
SCSS
$custom: #2e1da6;
$custom-light: #7b5ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1da6",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 166
  },
  "hsl": {
    "h": 247.445,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36987,
    "c": 0.20124,
    "h": 275.7
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E1DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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