#2E1D93#2E1D93

#2E1D93 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.179 H 278.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2E1D93
RGBrgb(46, 29, 147)
HSLhsl(249, 67%, 35%)
HSVhsv(249, 80%, 58%)
CMYKcmyk(68.7%, 80.3%, 0%, 42.4%)
CIE-LABlab(22.18, 43.31, -61.24)
CIE-LCHlch(22.18, 75.01, 305.27°)
OKLaboklab(34.84% 0.0255 -0.1769)
OKLCHoklch(34.84% 0.179 278.2)
XYZxyz(6.8308, 3.5656, 27.9264)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D93 #82931D
analogous
#1D4793 #2E1D93 #691D93
triadic
#2E1D93 #932E1D #1D932E
tetradic
#2E1D93 #931D47 #82931D #1D9369
square
#2E1D93 #931D47 #82931D #1D9369
split-complementary
#2E1D93 #93691D #47931D
monochromatic
#0E092D #1E1360 #2E1D93 #3E27C6 #634EDC

Accessibility & contrast

On white

12.26
#2E1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D93
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D93#FFFFFF#000000##FFFFFF
##2E1D931.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e1d93;
/* rgb */ color: rgb(46, 29, 147);
/* oklch */ color: oklch(34.8% 0.179 278.2);
Tailwind
colors: {
  custom: {
    50: '#765db4',
    500: '#2e1d93',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d93;
$custom-light: #765db4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d93",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 248.644,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34837,
    "c": 0.17875,
    "h": 278.2
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#2E1D93
secondary
#AEBF4D
accent
#EA3ED1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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