#2E1EA7#2E1EA7

#2E1EA7 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.202 H 275.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2E1EA7
RGBrgb(46, 30, 167)
HSLhsl(247, 70%, 39%)
HSVhsv(247, 82%, 65%)
CMYKcmyk(72.5%, 82%, 0%, 34.5%)
CIE-LABlab(24.64, 49.00, -69.42)
CIE-LCHlch(24.64, 84.97, 305.22°)
OKLaboklab(37.21% 0.0194 -0.2007)
OKLCHoklch(37.21% 0.202 275.5)
XYZxyz(8.5637, 4.2986, 36.9301)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1EA7 #97A71E
analogous
#1E52A7 #2E1EA7 #721EA7
triadic
#2E1EA7 #A72E1E #1EA72E
tetradic
#2E1EA7 #A71E52 #97A71E #1EA772
square
#2E1EA7 #A71E52 #97A71E #1EA772
split-complementary
#2E1EA7 #A7721E #52A71E
monochromatic
#110B3F #201573 #2E1EA7 #3E2AD9 #6D5DE2

Accessibility & contrast

On white

11.29
#2E1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1EA7
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1EA7#FFFFFF#000000##FFFFFF
##2E1EA71.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e1ea7;
/* rgb */ color: rgb(46, 30, 167);
/* oklch */ color: oklch(37.2% 0.202 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b5ec3',
    500: '#2e1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ea7;
$custom-light: #7b5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ea7",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 247.007,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37212,
    "c": 0.20162,
    "h": 275.5
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#2E1EA7
secondary
#BAC65B
accent
#EC3BD8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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