#2E1AB4#2E1AB4

#2E1AB4 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.3% C 0.219 H 274.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2E1AB4
RGBrgb(46, 26, 180)
HSLhsl(248, 75%, 40%)
HSVhsv(248, 86%, 71%)
CMYKcmyk(74.4%, 85.6%, 0%, 29.4%)
CIE-LABlab(25.61, 54.58, -75.62)
CIE-LCHlch(25.61, 93.26, 305.82°)
OKLaboklab(38.33% 0.0169 -0.2186)
OKLCHoklch(38.33% 0.219 274.4)
XYZxyz(9.7316, 4.6139, 43.5489)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1AB4 #A0B41A
analogous
#1A53B4 #2E1AB4 #7B1AB4
triadic
#2E1AB4 #B42E1A #1AB42E
tetradic
#2E1AB4 #B41A53 #A0B41A #1AB47B
square
#2E1AB4 #B41A53 #A0B41A #1AB47B
split-complementary
#2E1AB4 #B47B1A #53B41A
monochromatic
#130B49 #20127F #2E1AB4 #422BE0 #7260E8

Accessibility & contrast

On white

10.92
#2E1AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E1AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1AB4
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1AB4#FFFFFF#000000##FFFFFF
##2E1AB41.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e1ab4;
/* rgb */ color: rgb(46, 26, 180);
/* oklch */ color: oklch(38.3% 0.219 274.4);
Tailwind
colors: {
  custom: {
    50: '#7e5ecc',
    500: '#2e1ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ab4;
$custom-light: #7e5ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ab4",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 247.792,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.21925,
    "h": 274.4
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#2E1AB4
secondary
#BECC5D
accent
#F136D9
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2E1AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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