#2E1D84#2E1D84

#2E1D84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.160 H 280.7°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#2E1D84
RGBrgb(46, 29, 132)
HSLhsl(250, 64%, 32%)
HSVhsv(250, 78%, 52%)
CMYKcmyk(65.2%, 78%, 0%, 48.2%)
CIE-LABlab(20.54, 38.56, -54.59)
CIE-LCHlch(20.54, 66.83, 305.24°)
OKLaboklab(33.2% 0.0297 -0.1575)
OKLCHoklch(33.2% 0.16 280.7)
XYZxyz(5.7296, 3.1251, 22.1266)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D84 #73841D
analogous
#1D4084 #2E1D84 #621D84
triadic
#2E1D84 #842E1D #1D842E
tetradic
#2E1D84 #841D40 #73841D #1D8462
square
#2E1D84 #841D40 #73841D #1D8462
split-complementary
#2E1D84 #84621D #40841D
monochromatic
#0B0720 #1D1252 #2E1D84 #3F28B6 #5D45D6

Accessibility & contrast

On white

12.92
#2E1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1D84
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D84#FFFFFF#000000##FFFFFF
##2E1D841.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e1d84;
/* rgb */ color: rgb(46, 29, 132);
/* oklch */ color: oklch(33.2% 0.160 280.7);
Tailwind
colors: {
  custom: {
    50: '#735ca9',
    500: '#2e1d84',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d84;
$custom-light: #735ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d84",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 249.903,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.332,
    "c": 0.16029,
    "h": 280.7
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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