#2E1BA0#2E1BA0

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

Color values

HEX#2E1BA0
RGBrgb(46, 27, 160)
HSLhsl(249, 71%, 37%)
HSVhsv(249, 83%, 63%)
CMYKcmyk(71.2%, 83.1%, 0%, 37.3%)
CIE-LABlab(23.34, 48.26, -67.30)
CIE-LCHlch(23.34, 82.82, 305.64°)
OKLaboklab(36.08% 0.0226 -0.1945)
OKLCHoklch(36.08% 0.196 276.6)
XYZxyz(7.8617, 3.9020, 33.5897)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1BA0 #8DA01B
analogous
#1B4BA0 #2E1BA0 #711BA0
triadic
#2E1BA0 #A02E1B #1BA02E
tetradic
#2E1BA0 #A01B4B #8DA01B #1BA071
square
#2E1BA0 #A01B4B #8DA01B #1BA071
split-complementary
#2E1BA0 #A0711B #4BA01B
monochromatic
#100937 #1F126C #2E1BA0 #3D24D4 #6853E2

Accessibility & contrast

On white

11.79
#2E1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1BA0
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1BA0#FFFFFF#000000##FFFFFF
##2E1BA01.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1ba0;
/* rgb */ color: rgb(46, 27, 160);
/* oklch */ color: oklch(36.1% 0.196 276.6);
Tailwind
colors: {
  custom: {
    50: '#795cbd',
    500: '#2e1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ba0;
$custom-light: #795cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ba0",
  "rgb": {
    "r": 46,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 248.571,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36082,
    "c": 0.1958,
    "h": 276.6
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#2E1BA0
secondary
#B5C552
accent
#EE3AD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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