#2E1CAB#2E1CAB

#2E1CAB is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.208 H 275.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2E1CAB
RGBrgb(46, 28, 171)
HSLhsl(248, 72%, 39%)
HSVhsv(248, 84%, 67%)
CMYKcmyk(73.1%, 83.6%, 0%, 32.9%)
CIE-LABlab(24.80, 51.11, -71.56)
CIE-LCHlch(24.80, 87.94, 305.54°)
OKLaboklab(37.46% 0.019 -0.2069)
OKLCHoklch(37.46% 0.208 275.2)
XYZxyz(8.8902, 4.3507, 38.8914)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1CAB #99AB1C
analogous
#1C52AB #2E1CAB #761CAB
triadic
#2E1CAB #AB2E1C #1CAB2E
tetradic
#2E1CAB #AB1C52 #99AB1C #1CAB76
square
#2E1CAB #AB1C52 #99AB1C #1CAB76
split-complementary
#2E1CAB #AB761C #52AB1C
monochromatic
#120B42 #201376 #2E1CAB #3F28DC #6E5DE4

Accessibility & contrast

On white

11.23
#2E1CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E1CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1CAB
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1CAB#FFFFFF#000000##FFFFFF
##2E1CAB1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AF
Deuteranopia (green-blind)
#0034A9
Tritanopia (blue-blind)
#004A66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e1cab;
/* rgb */ color: rgb(46, 28, 171);
/* oklch */ color: oklch(37.5% 0.208 275.2);
Tailwind
colors: {
  custom: {
    50: '#7c5ec5',
    500: '#2e1cab',
    950: '#000000',
  },
}
SCSS
$custom: #2e1cab;
$custom-light: #7c5ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1cab",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 171
  },
  "hsl": {
    "h": 247.552,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37461,
    "c": 0.20774,
    "h": 275.2
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#2E1CAB
secondary
#BBC95A
accent
#EF39D8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E1CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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