#2E19A0#2E19A0

#2E19A0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.9% C 0.197 H 276.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2E19A0
RGBrgb(46, 25, 160)
HSLhsl(249, 73%, 36%)
HSVhsv(249, 84%, 63%)
CMYKcmyk(71.2%, 84.4%, 0%, 37.3%)
CIE-LABlab(23.04, 49.15, -67.80)
CIE-LCHlch(23.04, 83.74, 305.94°)
OKLaboklab(35.88% 0.0234 -0.1959)
OKLCHoklch(35.88% 0.197 276.8)
XYZxyz(7.8174, 3.8134, 33.5750)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E19A0 #8BA019
analogous
#1948A0 #2E19A0 #7219A0
triadic
#2E19A0 #A02E19 #19A02E
tetradic
#2E19A0 #A01948 #8BA019 #19A072
square
#2E19A0 #A01948 #8BA019 #19A072
split-complementary
#2E19A0 #A07219 #48A019
monochromatic
#100836 #1F116B #2E19A0 #3D21D5 #6750E4

Accessibility & contrast

On white

11.91
#2E19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E19A0
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E19A0#FFFFFF#000000##FFFFFF
##2E19A01.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e19a0;
/* rgb */ color: rgb(46, 25, 160);
/* oklch */ color: oklch(35.9% 0.197 276.8);
Tailwind
colors: {
  custom: {
    50: '#7a5bbd',
    500: '#2e19a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e19a0;
$custom-light: #7a5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e19a0",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 249.333,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35875,
    "c": 0.19729,
    "h": 276.8
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#2E19A0
secondary
#B3C64F
accent
#F038D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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