#2E1CA1#2E1CA1

#2E1CA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.196 H 276.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2E1CA1
RGBrgb(46, 28, 161)
HSLhsl(248, 70%, 37%)
HSVhsv(248, 83%, 63%)
CMYKcmyk(71.4%, 82.6%, 0%, 36.9%)
CIE-LABlab(23.62, 48.11, -67.46)
CIE-LCHlch(23.62, 82.86, 305.49°)
OKLaboklab(36.3% 0.0219 -0.195)
OKLCHoklch(36.3% 0.196 276.4)
XYZxyz(7.9729, 3.9838, 34.0601)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1CA1 #8FA11C
analogous
#1C4DA1 #2E1CA1 #701CA1
triadic
#2E1CA1 #A12E1C #1CA12E
tetradic
#2E1CA1 #A11C4D #8FA11C #1CA170
square
#2E1CA1 #A11C4D #8FA11C #1CA170
split-complementary
#2E1CA1 #A1701C #4DA11C
monochromatic
#100A39 #1F136D #2E1CA1 #3D25D5 #6956E2

Accessibility & contrast

On white

11.69
#2E1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1CA1
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1CA1#FFFFFF#000000##FFFFFF
##2E1CA11.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e1ca1;
/* rgb */ color: rgb(46, 28, 161);
/* oklch */ color: oklch(36.3% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#7a5dbe',
    500: '#2e1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ca1;
$custom-light: #7a5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ca1",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 248.12,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36304,
    "c": 0.1962,
    "h": 276.4
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#2E1CA1
secondary
#B6C554
accent
#ED3BD5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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