#2E1DA5#2E1DA5

#2E1DA5 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.200 H 275.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2E1DA5
RGBrgb(46, 29, 165)
HSLhsl(248, 70%, 38%)
HSVhsv(248, 82%, 65%)
CMYKcmyk(72.1%, 82.4%, 0%, 35.3%)
CIE-LABlab(24.24, 48.86, -68.86)
CIE-LCHlch(24.24, 84.43, 305.36°)
OKLaboklab(36.87% 0.0204 -0.199)
OKLCHoklch(36.87% 0.2 275.8)
XYZxyz(8.3554, 4.1754, 35.9556)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1DA5 #94A51D
analogous
#1D50A5 #2E1DA5 #721DA5
triadic
#2E1DA5 #A52E1D #1DA52E
tetradic
#2E1DA5 #A51D50 #94A51D #1DA572
square
#2E1DA5 #A51D50 #94A51D #1DA572
split-complementary
#2E1DA5 #A5721D #50A51D
monochromatic
#110B3D #1F1471 #2E1DA5 #3D26D9 #6B5AE2

Accessibility & contrast

On white

11.44
#2E1DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1DA5
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1DA5#FFFFFF#000000##FFFFFF
##2E1DA51.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA9
Deuteranopia (green-blind)
#0034A3
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e1da5;
/* rgb */ color: rgb(46, 29, 165);
/* oklch */ color: oklch(36.9% 0.200 275.8);
Tailwind
colors: {
  custom: {
    50: '#7a5ec1',
    500: '#2e1da5',
    950: '#000000',
  },
}
SCSS
$custom: #2e1da5;
$custom-light: #7a5ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1da5",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 165
  },
  "hsl": {
    "h": 247.5,
    "s": 70.103,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.20007,
    "h": 275.8
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#2E1DA5
secondary
#B8C658
accent
#ED3BD7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E1DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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