#2E1DB3#2E1DB3

#2E1DB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.5% C 0.216 H 274.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#2E1DB3
RGBrgb(46, 29, 179)
HSLhsl(247, 72%, 41%)
HSVhsv(247, 84%, 70%)
CMYKcmyk(74.3%, 83.8%, 0%, 29.8%)
CIE-LABlab(25.90, 53.05, -74.53)
CIE-LCHlch(25.90, 91.48, 305.44°)
OKLaboklab(38.5% 0.0164 -0.2155)
OKLCHoklch(38.5% 0.216 274.3)
XYZxyz(9.7001, 4.7133, 43.0376)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1DB3 #A2B31D
analogous
#1D57B3 #2E1DB3 #791DB3
triadic
#2E1DB3 #B32E1D #1DB32E
tetradic
#2E1DB3 #B31D57 #A2B31D #1DB379
square
#2E1DB3 #B31D57 #A2B31D #1DB379
split-complementary
#2E1DB3 #B3791D #57B31D
monochromatic
#130C4A #20147E #2E1DB3 #4330DD #7364E6

Accessibility & contrast

On white

10.81
#2E1DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E1DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1DB3
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1DB3#FFFFFF#000000##FFFFFF
##2E1DB31.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e1db3;
/* rgb */ color: rgb(46, 29, 179);
/* oklch */ color: oklch(38.5% 0.216 274.3);
Tailwind
colors: {
  custom: {
    50: '#7e5fcb',
    500: '#2e1db3',
    950: '#000000',
  },
}
SCSS
$custom: #2e1db3;
$custom-light: #7e5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1db3",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 246.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38496,
    "c": 0.21612,
    "h": 274.3
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#2E1DB3
secondary
#BFCB61
accent
#EF39DA
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2E1DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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