#2E1D91#2E1D91

#2E1D91 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.176 H 278.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2E1D91
RGBrgb(46, 29, 145)
HSLhsl(249, 67%, 34%)
HSVhsv(249, 80%, 57%)
CMYKcmyk(68.3%, 80%, 0%, 43.1%)
CIE-LABlab(21.96, 42.69, -60.37)
CIE-LCHlch(21.96, 73.94, 305.26°)
OKLaboklab(34.62% 0.0261 -0.1744)
OKLCHoklch(34.62% 0.176 278.5)
XYZxyz(6.6753, 3.5033, 27.1070)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D91 #80911D
analogous
#1D4691 #2E1D91 #681D91
triadic
#2E1D91 #912E1D #1D912E
tetradic
#2E1D91 #911D46 #80911D #1D9168
square
#2E1D91 #911D46 #80911D #1D9168
split-complementary
#2E1D91 #91681D #46911D
monochromatic
#0E092B #1E135E #2E1D91 #3E27C4 #624DDB

Accessibility & contrast

On white

12.35
#2E1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D91
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D91#FFFFFF#000000##FFFFFF
##2E1D911.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#00308F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e1d91;
/* rgb */ color: rgb(46, 29, 145);
/* oklch */ color: oklch(34.6% 0.176 278.5);
Tailwind
colors: {
  custom: {
    50: '#765cb2',
    500: '#2e1d91',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d91;
$custom-light: #765cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d91",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 248.793,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34615,
    "c": 0.17633,
    "h": 278.5
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#2E1D91
secondary
#ADBE4C
accent
#EA3ED0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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