#2E1D89#2E1D89

#2E1D89 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.167 H 279.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2E1D89
RGBrgb(46, 29, 137)
HSLhsl(249, 65%, 33%)
HSVhsv(249, 79%, 54%)
CMYKcmyk(66.4%, 78.8%, 0%, 46.3%)
CIE-LABlab(21.08, 40.16, -56.84)
CIE-LCHlch(21.08, 69.59, 305.24°)
OKLaboklab(33.74% 0.0283 -0.1641)
OKLCHoklch(33.74% 0.167 279.8)
XYZxyz(6.0800, 3.2652, 23.9719)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D89 #78891D
analogous
#1D4289 #2E1D89 #641D89
triadic
#2E1D89 #892E1D #1D892E
tetradic
#2E1D89 #891D42 #78891D #1D8964
square
#2E1D89 #891D42 #78891D #1D8964
split-complementary
#2E1D89 #89641D #42891D
monochromatic
#0C0824 #1D1256 #2E1D89 #3F28BC #5F48D8

Accessibility & contrast

On white

12.70
#2E1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D89
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D89#FFFFFF#000000##FFFFFF
##2E1D891.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1d89;
/* rgb */ color: rgb(46, 29, 137);
/* oklch */ color: oklch(33.7% 0.167 279.8);
Tailwind
colors: {
  custom: {
    50: '#745cad',
    500: '#2e1d89',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d89;
$custom-light: #745cad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d89",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 249.444,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33739,
    "c": 0.16651,
    "h": 279.8
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#2E1D89
secondary
#A8BA47
accent
#E840CE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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