#2E1C9E#2E1C9E

#2E1C9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.193 H 276.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2E1C9E
RGBrgb(46, 28, 158)
HSLhsl(248, 70%, 36%)
HSVhsv(248, 82%, 62%)
CMYKcmyk(70.9%, 82.3%, 0%, 38%)
CIE-LABlab(23.27, 47.20, -66.21)
CIE-LCHlch(23.27, 81.31, 305.48°)
OKLaboklab(35.96% 0.0228 -0.1913)
OKLCHoklch(35.96% 0.193 276.8)
XYZxyz(7.7115, 3.8793, 32.6835)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1C9E #8C9E1C
analogous
#1C4B9E #2E1C9E #6F1C9E
triadic
#2E1C9E #9E2E1C #1C9E2E
tetradic
#2E1C9E #9E1C4B #8C9E1C #1C9E6F
square
#2E1C9E #9E1C4B #8C9E1C #1C9E6F
split-complementary
#2E1C9E #9E6F1C #4B9E1C
monochromatic
#100A36 #1F136A #2E1C9E #3D25D2 #6754E1

Accessibility & contrast

On white

11.82
#2E1C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E1C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1C9E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1C9E#FFFFFF#000000##FFFFFF
##2E1C9E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e1c9e;
/* rgb */ color: rgb(46, 28, 158);
/* oklch */ color: oklch(36.0% 0.193 276.8);
Tailwind
colors: {
  custom: {
    50: '#795dbc',
    500: '#2e1c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e1c9e;
$custom-light: #795dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1c9e",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 248.308,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35961,
    "c": 0.19268,
    "h": 276.8
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#2E1C9E
secondary
#B4C452
accent
#ED3BD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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