#2E1E99#2E1E99

#2E1E99 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.185 H 277.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#2E1E99
RGBrgb(46, 30, 153)
HSLhsl(248, 67%, 36%)
HSVhsv(248, 80%, 60%)
CMYKcmyk(69.9%, 80.4%, 0%, 40%)
CIE-LABlab(23.03, 44.69, -63.54)
CIE-LCHlch(23.03, 77.68, 305.12°)
OKLaboklab(35.63% 0.0234 -0.1836)
OKLCHoklch(35.63% 0.185 277.2)
XYZxyz(7.3389, 3.8086, 30.4792)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E99 #89991E
analogous
#1E4B99 #2E1E99 #6B1E99
triadic
#2E1E99 #992E1E #1E992E
tetradic
#2E1E99 #991E4B #89991E #1E996B
square
#2E1E99 #991E4B #89991E #1E996B
split-complementary
#2E1E99 #996B1E #4B991E
monochromatic
#0F0A33 #1F1466 #2E1E99 #3D28CC #6654DD

Accessibility & contrast

On white

11.92
#2E1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E1E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E99
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E99#FFFFFF#000000##FFFFFF
##2E1E991.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e1e99;
/* rgb */ color: rgb(46, 30, 153);
/* oklch */ color: oklch(35.6% 0.185 277.2);
Tailwind
colors: {
  custom: {
    50: '#785eb8',
    500: '#2e1e99',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e99;
$custom-light: #785eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e99",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 247.805,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35627,
    "c": 0.18509,
    "h": 277.2
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#2E1E99
secondary
#B2C152
accent
#EA3ED4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2E1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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