#2E1EA4#2E1EA4

#2E1EA4 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.9% C 0.198 H 275.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2E1EA4
RGBrgb(46, 30, 164)
HSLhsl(247, 69%, 38%)
HSVhsv(247, 82%, 64%)
CMYKcmyk(72%, 81.7%, 0%, 35.7%)
CIE-LABlab(24.29, 48.09, -68.18)
CIE-LCHlch(24.29, 83.43, 305.20°)
OKLaboklab(36.87% 0.0203 -0.1971)
OKLCHoklch(36.87% 0.198 275.9)
XYZxyz(8.2896, 4.1889, 35.4864)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1EA4 #94A41E
analogous
#1E51A4 #2E1EA4 #711EA4
triadic
#2E1EA4 #A42E1E #1EA42E
tetradic
#2E1EA4 #A41E51 #94A41E #1EA471
square
#2E1EA4 #A41E51 #94A41E #1EA471
split-complementary
#2E1EA4 #A4711E #51A41E
monochromatic
#110B3D #1F1570 #2E1EA4 #3D28D8 #6B5BE1

Accessibility & contrast

On white

11.43
#2E1EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E1EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1EA4
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1EA4#FFFFFF#000000##FFFFFF
##2E1EA41.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA8
Deuteranopia (green-blind)
#0034A2
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e1ea4;
/* rgb */ color: rgb(46, 30, 164);
/* oklch */ color: oklch(36.9% 0.198 275.9);
Tailwind
colors: {
  custom: {
    50: '#7a5ec0',
    500: '#2e1ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ea4;
$custom-light: #7a5ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ea4",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 164
  },
  "hsl": {
    "h": 247.164,
    "s": 69.072,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36869,
    "c": 0.19812,
    "h": 275.9
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#2E1EA4
secondary
#B8C559
accent
#EC3CD7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E1EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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