#2E1AB3#2E1AB3

#2E1AB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.2% C 0.218 H 274.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2E1AB3
RGBrgb(46, 26, 179)
HSLhsl(248, 75%, 40%)
HSVhsv(248, 85%, 70%)
CMYKcmyk(74.3%, 85.5%, 0%, 29.8%)
CIE-LABlab(25.48, 54.29, -75.23)
CIE-LCHlch(25.48, 92.77, 305.82°)
OKLaboklab(38.21% 0.0172 -0.2175)
OKLCHoklch(38.21% 0.218 274.5)
XYZxyz(9.6301, 4.5733, 43.0143)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1AB3 #9FB31A
analogous
#1A53B3 #2E1AB3 #7A1AB3
triadic
#2E1AB3 #B32E1A #1AB32E
tetradic
#2E1AB3 #B31A53 #9FB31A #1AB37A
square
#2E1AB3 #B31A53 #9FB31A #1AB37A
split-complementary
#2E1AB3 #B37A1A #53B31A
monochromatic
#130A48 #20127E #2E1AB3 #422AE0 #7160E8

Accessibility & contrast

On white

10.97
#2E1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1AB3
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1AB3#FFFFFF#000000##FFFFFF
##2E1AB31.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.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: #2e1ab3;
/* rgb */ color: rgb(46, 26, 179);
/* oklch */ color: oklch(38.2% 0.218 274.5);
Tailwind
colors: {
  custom: {
    50: '#7e5dcb',
    500: '#2e1ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ab3;
$custom-light: #7e5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ab3",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 247.843,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.21814,
    "h": 274.5
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E1AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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