#2E19B3#2E19B3

#2E19B3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.1% C 0.219 H 274.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2E19B3
RGBrgb(46, 25, 179)
HSLhsl(248, 75%, 40%)
HSVhsv(248, 86%, 70%)
CMYKcmyk(74.3%, 86%, 0%, 29.8%)
CIE-LABlab(25.35, 54.68, -75.45)
CIE-LCHlch(25.35, 93.18, 305.93°)
OKLaboklab(38.12% 0.0175 -0.2181)
OKLCHoklch(38.12% 0.219 274.6)
XYZxyz(9.6083, 4.5298, 43.0070)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E19B3 #9EB319
analogous
#1951B3 #2E19B3 #7B19B3
triadic
#2E19B3 #B32E19 #19B32E
tetradic
#2E19B3 #B31951 #9EB319 #19B37B
square
#2E19B3 #B31951 #9EB319 #19B37B
split-complementary
#2E19B3 #B37B19 #51B319
monochromatic
#120A48 #20127D #2E19B3 #4128E1 #715EE8

Accessibility & contrast

On white

11.02
#2E19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E19B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E19B3
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E19B3#FFFFFF#000000##FFFFFF
##2E19B31.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e19b3;
/* rgb */ color: rgb(46, 25, 179);
/* oklch */ color: oklch(38.1% 0.219 274.6);
Tailwind
colors: {
  custom: {
    50: '#7e5dcb',
    500: '#2e19b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e19b3;
$custom-light: #7e5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e19b3",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 248.182,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.38118,
    "c": 0.21877,
    "h": 274.6
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#2E19B3
secondary
#BDCC5B
accent
#F236D8
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2E19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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