#2E1D94#2E1D94

#2E1D94 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.180 H 278.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2E1D94
RGBrgb(46, 29, 148)
HSLhsl(249, 67%, 35%)
HSVhsv(249, 80%, 58%)
CMYKcmyk(68.9%, 80.4%, 0%, 42%)
CIE-LABlab(22.29, 43.63, -61.68)
CIE-LCHlch(22.29, 75.55, 305.27°)
OKLaboklab(34.95% 0.0252 -0.1782)
OKLCHoklch(34.95% 0.18 278.1)
XYZxyz(6.9096, 3.5971, 28.3414)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D94 #83941D
analogous
#1D4894 #2E1D94 #691D94
triadic
#2E1D94 #942E1D #1D942E
tetradic
#2E1D94 #941D48 #83941D #1D9469
square
#2E1D94 #941D48 #83941D #1D9469
split-complementary
#2E1D94 #94691D #48941D
monochromatic
#0E092E #1E1361 #2E1D94 #3E27C7 #634FDC

Accessibility & contrast

On white

12.21
#2E1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D94
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D94#FFFFFF#000000##FFFFFF
##2E1D941.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1d94;
/* rgb */ color: rgb(46, 29, 148);
/* oklch */ color: oklch(34.9% 0.180 278.1);
Tailwind
colors: {
  custom: {
    50: '#775db5',
    500: '#2e1d94',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d94;
$custom-light: #775db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d94",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 248.571,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.17996,
    "h": 278.1
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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