#2E1DA1#2E1DA1

#2E1DA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.4% C 0.195 H 276.3°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2E1DA1
RGBrgb(46, 29, 161)
HSLhsl(248, 69%, 37%)
HSVhsv(248, 82%, 63%)
CMYKcmyk(71.4%, 82%, 0%, 36.9%)
CIE-LABlab(23.78, 47.64, -67.20)
CIE-LCHlch(23.78, 82.37, 305.34°)
OKLaboklab(36.42% 0.0215 -0.1942)
OKLCHoklch(36.42% 0.195 276.3)
XYZxyz(7.9970, 4.0320, 34.0681)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1DA1 #90A11D
analogous
#1D4EA1 #2E1DA1 #701DA1
triadic
#2E1DA1 #A12E1D #1DA12E
tetradic
#2E1DA1 #A11D4E #90A11D #1DA170
square
#2E1DA1 #A11D4E #90A11D #1DA170
split-complementary
#2E1DA1 #A1701D #4EA11D
monochromatic
#100A39 #1F146D #2E1DA1 #3D26D5 #6958E1

Accessibility & contrast

On white

11.62
#2E1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E1DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1DA1
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1DA1#FFFFFF#000000##FFFFFF
##2E1DA11.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00339F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e1da1;
/* rgb */ color: rgb(46, 29, 161);
/* oklch */ color: oklch(36.4% 0.195 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a5ebe',
    500: '#2e1da1',
    950: '#000000',
  },
}
SCSS
$custom: #2e1da1;
$custom-light: #7a5ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1da1",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 247.727,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36415,
    "c": 0.19541,
    "h": 276.3
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#2E1DA1
secondary
#B6C455
accent
#EC3CD6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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