#2E19A1#2E19A1

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

Color values

HEX#2E19A1
RGBrgb(46, 25, 161)
HSLhsl(249, 73%, 36%)
HSVhsv(249, 84%, 63%)
CMYKcmyk(71.4%, 84.5%, 0%, 36.9%)
CIE-LABlab(23.16, 49.44, -68.21)
CIE-LCHlch(23.16, 84.25, 305.94°)
OKLaboklab(35.99% 0.023 -0.1971)
OKLCHoklch(35.99% 0.198 276.7)
XYZxyz(7.9053, 3.8486, 34.0375)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E19A1 #8CA119
analogous
#1948A1 #2E19A1 #7219A1
triadic
#2E19A1 #A12E19 #19A12E
tetradic
#2E19A1 #A11948 #8CA119 #19A172
square
#2E19A1 #A11948 #8CA119 #19A172
split-complementary
#2E19A1 #A17219 #48A119
monochromatic
#100937 #1F116C #2E19A1 #3D21D6 #6750E4

Accessibility & contrast

On white

11.87
#2E19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E19A1
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E19A1#FFFFFF#000000##FFFFFF
##2E19A11.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e19a1;
/* rgb */ color: rgb(46, 25, 161);
/* oklch */ color: oklch(36.0% 0.198 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a5cbe',
    500: '#2e19a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e19a1;
$custom-light: #7a5cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e19a1",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 249.265,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35992,
    "c": 0.19844,
    "h": 276.7
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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