#2E1E83#2E1E83

#2E1E83 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.158 H 280.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2E1E83
RGBrgb(46, 30, 131)
HSLhsl(250, 63%, 32%)
HSVhsv(250, 77%, 51%)
CMYKcmyk(64.9%, 77.1%, 0%, 48.6%)
CIE-LABlab(20.63, 37.68, -53.81)
CIE-LCHlch(20.63, 65.70, 305.00°)
OKLaboklab(33.23% 0.0293 -0.1553)
OKLCHoklch(33.23% 0.158 280.7)
XYZxyz(5.6864, 3.1477, 21.7762)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E83 #73831E
analogous
#1E4183 #2E1E83 #611E83
triadic
#2E1E83 #832E1E #1E832E
tetradic
#2E1E83 #831E41 #73831E #1E8361
square
#2E1E83 #831E41 #73831E #1E8361
split-complementary
#2E1E83 #83611E #41831E
monochromatic
#0B071F #1D1351 #2E1E83 #3F29B5 #5D47D5

Accessibility & contrast

On white

12.89
#2E1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E83
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E83#FFFFFF#000000##FFFFFF
##2E1E831.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e1e83;
/* rgb */ color: rgb(46, 30, 131);
/* oklch */ color: oklch(33.2% 0.158 280.7);
Tailwind
colors: {
  custom: {
    50: '#735ca8',
    500: '#2e1e83',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e83;
$custom-light: #735ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e83",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 249.505,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.158,
    "h": 280.7
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#2E1E83
secondary
#A4B647
accent
#E642CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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