#2E1EA8#2E1EA8

#2E1EA8 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.203 H 275.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2E1EA8
RGBrgb(46, 30, 168)
HSLhsl(247, 70%, 39%)
HSVhsv(247, 82%, 66%)
CMYKcmyk(72.6%, 82.1%, 0%, 34.1%)
CIE-LABlab(24.75, 49.31, -69.83)
CIE-LCHlch(24.75, 85.48, 305.23°)
OKLaboklab(37.33% 0.0192 -0.2019)
OKLCHoklch(37.33% 0.203 275.4)
XYZxyz(8.6565, 4.3357, 37.4189)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1EA8 #98A81E
analogous
#1E53A8 #2E1EA8 #731EA8
triadic
#2E1EA8 #A82E1E #1EA82E
tetradic
#2E1EA8 #A81E53 #98A81E #1EA873
square
#2E1EA8 #A81E53 #98A81E #1EA873
split-complementary
#2E1EA8 #A8731E #53A81E
monochromatic
#120B40 #201574 #2E1EA8 #3E2AD9 #6D5EE2

Accessibility & contrast

On white

11.25
#2E1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1EA8
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1EA8#FFFFFF#000000##FFFFFF
##2E1EA81.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e1ea8;
/* rgb */ color: rgb(46, 30, 168);
/* oklch */ color: oklch(37.3% 0.203 275.4);
Tailwind
colors: {
  custom: {
    50: '#7b5fc3',
    500: '#2e1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ea8;
$custom-light: #7b5fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ea8",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 246.957,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37326,
    "c": 0.20278,
    "h": 275.4
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#2E1EA8
secondary
#BAC75B
accent
#ED3BD8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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