#2E1E89#2E1E89

#2E1E89 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.166 H 279.6°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#2E1E89
RGBrgb(46, 30, 137)
HSLhsl(249, 64%, 33%)
HSVhsv(249, 78%, 54%)
CMYKcmyk(66.4%, 78.1%, 0%, 46.3%)
CIE-LABlab(21.26, 39.62, -56.53)
CIE-LCHlch(21.26, 69.03, 305.02°)
OKLaboklab(33.87% 0.0277 -0.1632)
OKLCHoklch(33.87% 0.166 279.6)
XYZxyz(6.1049, 3.3150, 23.9802)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E89 #79891E
analogous
#1E4389 #2E1E89 #631E89
triadic
#2E1E89 #892E1E #1E892E
tetradic
#2E1E89 #891E43 #79891E #1E8963
square
#2E1E89 #891E43 #79891E #1E8963
split-complementary
#2E1E89 #89631E #43891E
monochromatic
#0C0825 #1D1357 #2E1E89 #3F29BB #5F4AD7

Accessibility & contrast

On white

12.63
#2E1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E89
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E89#FFFFFF#000000##FFFFFF
##2E1E891.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e1e89;
/* rgb */ color: rgb(46, 30, 137);
/* oklch */ color: oklch(33.9% 0.166 279.6);
Tailwind
colors: {
  custom: {
    50: '#745dad',
    500: '#2e1e89',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e89;
$custom-light: #745dad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e89",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 248.972,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3387,
    "c": 0.16553,
    "h": 279.6
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#2E1E89
secondary
#A9BA49
accent
#E741CE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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