#2E1AA0#2E1AA0

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

Color values

HEX#2E1AA0
RGBrgb(46, 26, 160)
HSLhsl(249, 72%, 36%)
HSVhsv(249, 84%, 63%)
CMYKcmyk(71.2%, 83.8%, 0%, 37.3%)
CIE-LABlab(23.19, 48.71, -67.55)
CIE-LCHlch(23.19, 83.28, 305.79°)
OKLaboklab(35.98% 0.023 -0.1952)
OKLCHoklch(35.98% 0.197 276.7)
XYZxyz(7.8392, 3.8570, 33.5822)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1AA0 #8CA01A
analogous
#1A49A0 #2E1AA0 #711AA0
triadic
#2E1AA0 #A02E1A #1AA02E
tetradic
#2E1AA0 #A01A49 #8CA01A #1AA071
square
#2E1AA0 #A01A49 #8CA01A #1AA071
split-complementary
#2E1AA0 #A0711A #49A01A
monochromatic
#100937 #1F116B #2E1AA0 #3D23D5 #6752E3

Accessibility & contrast

On white

11.85
#2E1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1AA0
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1AA0#FFFFFF#000000##FFFFFF
##2E1AA01.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e1aa0;
/* rgb */ color: rgb(46, 26, 160);
/* oklch */ color: oklch(36.0% 0.197 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a5cbd',
    500: '#2e1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2e1aa0;
$custom-light: #7a5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1aa0",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 248.955,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35977,
    "c": 0.19656,
    "h": 276.7
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#2E1AA0
secondary
#B4C550
accent
#EF39D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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