#2E1E85#2E1E85

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

Color values

HEX#2E1E85
RGBrgb(46, 30, 133)
HSLhsl(249, 63%, 32%)
HSVhsv(249, 77%, 52%)
CMYKcmyk(65.4%, 77.4%, 0%, 47.8%)
CIE-LABlab(20.84, 38.33, -54.72)
CIE-LCHlch(20.84, 66.81, 305.01°)
OKLaboklab(33.44% 0.0287 -0.1579)
OKLCHoklch(33.44% 0.161 280.3)
XYZxyz(5.8233, 3.2024, 22.4970)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E85 #75851E
analogous
#1E4285 #2E1E85 #611E85
triadic
#2E1E85 #852E1E #1E852E
tetradic
#2E1E85 #851E42 #75851E #1E8561
square
#2E1E85 #851E42 #75851E #1E8561
split-complementary
#2E1E85 #85611E #42851E
monochromatic
#0B0721 #1D1353 #2E1E85 #3F29B7 #5E48D6

Accessibility & contrast

On white

12.80
#2E1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1E85
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E85#FFFFFF#000000##FFFFFF
##2E1E851.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1e85;
/* rgb */ color: rgb(46, 30, 133);
/* oklch */ color: oklch(33.4% 0.161 280.3);
Tailwind
colors: {
  custom: {
    50: '#735caa',
    500: '#2e1e85',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e85;
$custom-light: #735caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e85",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 249.32,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33442,
    "c": 0.16052,
    "h": 280.3
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#2E1E85
secondary
#A6B847
accent
#E642CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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