#2E1E82#2E1E82

#2E1E82 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.157 H 280.8°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2E1E82
RGBrgb(46, 30, 130)
HSLhsl(250, 63%, 31%)
HSVhsv(250, 77%, 51%)
CMYKcmyk(64.6%, 76.9%, 0%, 49%)
CIE-LABlab(20.52, 37.36, -53.35)
CIE-LCHlch(20.52, 65.13, 305.00°)
OKLaboklab(33.13% 0.0295 -0.1539)
OKLCHoklch(33.13% 0.157 280.8)
XYZxyz(5.6190, 3.1207, 21.4210)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E82 #72821E
analogous
#1E4082 #2E1E82 #601E82
triadic
#2E1E82 #822E1E #1E822E
tetradic
#2E1E82 #821E40 #72821E #1E8260
square
#2E1E82 #821E40 #72821E #1E8260
split-complementary
#2E1E82 #82601E #40821E
monochromatic
#0B071F #1C1350 #2E1E82 #4029B4 #5D46D4

Accessibility & contrast

On white

12.93
#2E1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E82
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E82#FFFFFF#000000##FFFFFF
##2E1E821.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e1e82;
/* rgb */ color: rgb(46, 30, 130);
/* oklch */ color: oklch(33.1% 0.157 280.8);
Tailwind
colors: {
  custom: {
    50: '#735ca7',
    500: '#2e1e82',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e82;
$custom-light: #735ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e82",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 249.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33125,
    "c": 0.15673,
    "h": 280.8
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#2E1E82
secondary
#A3B547
accent
#E642CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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