#2E1E86#2E1E86

#2E1E86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.162 H 280.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2E1E86
RGBrgb(46, 30, 134)
HSLhsl(249, 63%, 32%)
HSVhsv(249, 78%, 53%)
CMYKcmyk(65.7%, 77.6%, 0%, 47.5%)
CIE-LABlab(20.94, 38.65, -55.18)
CIE-LCHlch(20.94, 67.37, 305.01°)
OKLaboklab(33.55% 0.0285 -0.1593)
OKLCHoklch(33.55% 0.162 280.1)
XYZxyz(5.8927, 3.2302, 22.8626)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E86 #76861E
analogous
#1E4286 #2E1E86 #621E86
triadic
#2E1E86 #862E1E #1E862E
tetradic
#2E1E86 #861E42 #76861E #1E8662
square
#2E1E86 #861E42 #76861E #1E8662
split-complementary
#2E1E86 #86621E #42861E
monochromatic
#0C0822 #1D1354 #2E1E86 #3F29B8 #5E48D6

Accessibility & contrast

On white

12.76
#2E1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1E86
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E86#FFFFFF#000000##FFFFFF
##2E1E861.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e1e86;
/* rgb */ color: rgb(46, 30, 134);
/* oklch */ color: oklch(33.5% 0.162 280.1);
Tailwind
colors: {
  custom: {
    50: '#735caa',
    500: '#2e1e86',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e86;
$custom-light: #735caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e86",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 249.231,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33549,
    "c": 0.16179,
    "h": 280.1
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#2E1E86
secondary
#A7B847
accent
#E641CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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