#2E1D92#2E1D92

#2E1D92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.178 H 278.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2E1D92
RGBrgb(46, 29, 146)
HSLhsl(249, 67%, 34%)
HSVhsv(249, 80%, 57%)
CMYKcmyk(68.5%, 80.1%, 0%, 42.7%)
CIE-LABlab(22.07, 43.00, -60.81)
CIE-LCHlch(22.07, 74.48, 305.26°)
OKLaboklab(34.73% 0.0258 -0.1756)
OKLCHoklch(34.73% 0.178 278.4)
XYZxyz(6.7527, 3.5343, 27.5149)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D92 #81921D
analogous
#1D4792 #2E1D92 #691D92
triadic
#2E1D92 #922E1D #1D922E
tetradic
#2E1D92 #921D47 #81921D #1D9269
square
#2E1D92 #921D47 #81921D #1D9269
split-complementary
#2E1D92 #92691D #47921D
monochromatic
#0E092C #1E135F #2E1D92 #3E27C5 #624EDC

Accessibility & contrast

On white

12.30
#2E1D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1D92
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D92#FFFFFF#000000##FFFFFF
##2E1D921.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e1d92;
/* rgb */ color: rgb(46, 29, 146);
/* oklch */ color: oklch(34.7% 0.178 278.4);
Tailwind
colors: {
  custom: {
    50: '#765db3',
    500: '#2e1d92',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d92;
$custom-light: #765db3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d92",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 248.718,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34726,
    "c": 0.17754,
    "h": 278.4
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E1D92

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

Preview Lab → · Contrast checker → · Palette generator →

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