#2E1D9E#2E1D9E

#2E1D9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.192 H 276.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2E1D9E
RGBrgb(46, 29, 158)
HSLhsl(248, 69%, 37%)
HSVhsv(248, 82%, 62%)
CMYKcmyk(70.9%, 81.6%, 0%, 38%)
CIE-LABlab(23.43, 46.72, -65.94)
CIE-LCHlch(23.43, 80.82, 305.32°)
OKLaboklab(36.07% 0.0224 -0.1906)
OKLCHoklch(36.07% 0.192 276.7)
XYZxyz(7.7356, 3.9275, 32.6915)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D9E #8D9E1D
analogous
#1D4D9E #2E1D9E #6F1D9E
triadic
#2E1D9E #9E2E1D #1D9E2E
tetradic
#2E1D9E #9E1D4D #8D9E1D #1D9E6F
square
#2E1D9E #9E1D4D #8D9E1D #1D9E6F
split-complementary
#2E1D9E #9E6F1D #4D9E1D
monochromatic
#100A37 #1F146A #2E1D9E #3D26D2 #6856E0

Accessibility & contrast

On white

11.76
#2E1D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E1D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D9E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D9E#FFFFFF#000000##FFFFFF
##2E1D9E1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e1d9e;
/* rgb */ color: rgb(46, 29, 158);
/* oklch */ color: oklch(36.1% 0.192 276.7);
Tailwind
colors: {
  custom: {
    50: '#795dbc',
    500: '#2e1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d9e;
$custom-light: #795dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d9e",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 247.907,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.19188,
    "h": 276.7
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#2E1D9E
secondary
#B5C354
accent
#EC3CD5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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