#2E1D85#2E1D85

#2E1D85 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.162 H 280.5°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#2E1D85
RGBrgb(46, 29, 133)
HSLhsl(250, 64%, 32%)
HSVhsv(250, 78%, 52%)
CMYKcmyk(65.4%, 78.2%, 0%, 47.8%)
CIE-LABlab(20.64, 38.88, -55.04)
CIE-LCHlch(20.64, 67.39, 305.24°)
OKLaboklab(33.31% 0.0294 -0.1588)
OKLCHoklch(33.31% 0.162 280.5)
XYZxyz(5.7984, 3.1526, 22.4887)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D85 #74851D
analogous
#1D4085 #2E1D85 #621D85
triadic
#2E1D85 #852E1D #1D852E
tetradic
#2E1D85 #851D40 #74851D #1D8562
square
#2E1D85 #851D40 #74851D #1D8562
split-complementary
#2E1D85 #85621D #40851D
monochromatic
#0B0721 #1D1253 #2E1D85 #3F28B7 #5D46D7

Accessibility & contrast

On white

12.88
#2E1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D85
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D85#FFFFFF#000000##FFFFFF
##2E1D851.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e1d85;
/* rgb */ color: rgb(46, 29, 133);
/* oklch */ color: oklch(33.3% 0.162 280.5);
Tailwind
colors: {
  custom: {
    50: '#735caa',
    500: '#2e1d85',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d85;
$custom-light: #735caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d85",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 249.808,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33307,
    "c": 0.16155,
    "h": 280.5
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#2E1D85
secondary
#A5B846
accent
#E741CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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