#2E1E84#2E1E84

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

Color values

HEX#2E1E84
RGBrgb(46, 30, 132)
HSLhsl(249, 63%, 32%)
HSVhsv(249, 77%, 52%)
CMYKcmyk(65.2%, 77.3%, 0%, 48.2%)
CIE-LABlab(20.73, 38.01, -54.27)
CIE-LCHlch(20.73, 66.26, 305.01°)
OKLaboklab(33.34% 0.029 -0.1566)
OKLCHoklch(33.34% 0.159 280.5)
XYZxyz(5.7545, 3.1749, 22.1349)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E84 #74841E
analogous
#1E4184 #2E1E84 #611E84
triadic
#2E1E84 #842E1E #1E842E
tetradic
#2E1E84 #841E41 #74841E #1E8461
square
#2E1E84 #841E41 #74841E #1E8461
split-complementary
#2E1E84 #84611E #41841E
monochromatic
#0B0720 #1D1352 #2E1E84 #3F29B6 #5D47D5

Accessibility & contrast

On white

12.84
#2E1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1E84
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E84#FFFFFF#000000##FFFFFF
##2E1E841.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1e84;
/* rgb */ color: rgb(46, 30, 132);
/* oklch */ color: oklch(33.3% 0.159 280.5);
Tailwind
colors: {
  custom: {
    50: '#735ca9',
    500: '#2e1e84',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e84;
$custom-light: #735ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e84",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 249.412,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33336,
    "c": 0.15926,
    "h": 280.5
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#2E1E84
secondary
#A5B747
accent
#E642CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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