#2E1CAD#2E1CAD

#2E1CAD is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.210 H 275.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2E1CAD
RGBrgb(46, 28, 173)
HSLhsl(247, 72%, 39%)
HSVhsv(247, 84%, 68%)
CMYKcmyk(73.4%, 83.8%, 0%, 32.2%)
CIE-LABlab(25.04, 51.70, -72.37)
CIE-LCHlch(25.04, 88.94, 305.54°)
OKLaboklab(37.69% 0.0184 -0.2092)
OKLCHoklch(37.69% 0.21 275)
XYZxyz(9.0823, 4.4276, 39.9030)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1CAD #9BAD1C
analogous
#1C53AD #2E1CAD #761CAD
triadic
#2E1CAD #AD2E1C #1CAD2E
tetradic
#2E1CAD #AD1C53 #9BAD1C #1CAD76
square
#2E1CAD #AD1C53 #9BAD1C #1CAD76
split-complementary
#2E1CAD #AD761C #53AD1C
monochromatic
#120B44 #201378 #2E1CAD #402ADC #6F5EE5

Accessibility & contrast

On white

11.14
#2E1CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E1CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1CAD
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1CAD#FFFFFF#000000##FFFFFF
##2E1CAD1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e1cad;
/* rgb */ color: rgb(46, 28, 173);
/* oklch */ color: oklch(37.7% 0.210 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c5ec7',
    500: '#2e1cad',
    950: '#000000',
  },
}
SCSS
$custom: #2e1cad;
$custom-light: #7c5ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1cad",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 173
  },
  "hsl": {
    "h": 247.448,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37694,
    "c": 0.21002,
    "h": 275
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E1CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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