#2E1D86#2E1D86

#2E1D86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.163 H 280.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2E1D86
RGBrgb(46, 29, 134)
HSLhsl(250, 64%, 32%)
HSVhsv(250, 78%, 53%)
CMYKcmyk(65.7%, 78.4%, 0%, 47.5%)
CIE-LABlab(20.75, 39.20, -55.49)
CIE-LCHlch(20.75, 67.94, 305.24°)
OKLaboklab(33.42% 0.0291 -0.1602)
OKLCHoklch(33.42% 0.163 280.3)
XYZxyz(5.8678, 3.1803, 22.8543)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D86 #75861D
analogous
#1D4186 #2E1D86 #631D86
triadic
#2E1D86 #862E1D #1D862E
tetradic
#2E1D86 #861D41 #75861D #1D8663
square
#2E1D86 #861D41 #75861D #1D8663
split-complementary
#2E1D86 #86631D #41861D
monochromatic
#0B0721 #1D1254 #2E1D86 #3F28B8 #5E46D7

Accessibility & contrast

On white

12.83
#2E1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D86
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D86#FFFFFF#000000##FFFFFF
##2E1D861.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e1d86;
/* rgb */ color: rgb(46, 29, 134);
/* oklch */ color: oklch(33.4% 0.163 280.3);
Tailwind
colors: {
  custom: {
    50: '#735caa',
    500: '#2e1d86',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d86;
$custom-light: #735caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d86",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 249.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33415,
    "c": 0.16279,
    "h": 280.3
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#2E1D86
secondary
#A6B946
accent
#E740CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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