#2E1C9A#2E1C9A

#2E1C9A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.188 H 277.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2E1C9A
RGBrgb(46, 28, 154)
HSLhsl(249, 69%, 36%)
HSVhsv(249, 82%, 60%)
CMYKcmyk(70.1%, 81.8%, 0%, 39.6%)
CIE-LABlab(22.81, 45.97, -64.52)
CIE-LCHlch(22.81, 79.23, 305.47°)
OKLaboklab(35.5% 0.024 -0.1864)
OKLCHoklch(35.5% 0.188 277.3)
XYZxyz(7.3728, 3.7438, 30.8997)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1C9A #889A1C
analogous
#1C499A #2E1C9A #6D1C9A
triadic
#2E1C9A #9A2E1C #1C9A2E
tetradic
#2E1C9A #9A1C49 #889A1C #1C9A6D
square
#2E1C9A #9A1C49 #889A1C #1C9A6D
split-complementary
#2E1C9A #9A6D1C #499A1C
monochromatic
#0F0932 #1F1366 #2E1C9A #3D25CE #6551DF

Accessibility & contrast

On white

12.01
#2E1C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E1C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1C9A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1C9A#FFFFFF#000000##FFFFFF
##2E1C9A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e1c9a;
/* rgb */ color: rgb(46, 28, 154);
/* oklch */ color: oklch(35.5% 0.188 277.3);
Tailwind
colors: {
  custom: {
    50: '#785db9',
    500: '#2e1c9a',
    950: '#000000',
  },
}
SCSS
$custom: #2e1c9a;
$custom-light: #785db9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1c9a",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 248.571,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35505,
    "c": 0.18798,
    "h": 277.3
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#2E1C9A
secondary
#B2C250
accent
#EC3CD3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2E1C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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