#2E1EAC#2E1EAC

#2E1EAC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.207 H 275.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2E1EAC
RGBrgb(46, 30, 172)
HSLhsl(247, 70%, 40%)
HSVhsv(247, 83%, 67%)
CMYKcmyk(73.3%, 82.6%, 0%, 32.5%)
CIE-LABlab(25.22, 50.52, -71.46)
CIE-LCHlch(25.22, 87.52, 305.26°)
OKLaboklab(37.79% 0.018 -0.2066)
OKLCHoklch(37.79% 0.207 275)
XYZxyz(9.0349, 4.4871, 39.4117)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1EAC #9CAC1E
analogous
#1E55AC #2E1EAC #751EAC
triadic
#2E1EAC #AC2E1E #1EAC2E
tetradic
#2E1EAC #AC1E55 #9CAC1E #1EAC75
square
#2E1EAC #AC1E55 #9CAC1E #1EAC75
split-complementary
#2E1EAC #AC751E #55AC1E
monochromatic
#120C44 #201578 #2E1EAC #402DDA #7061E3

Accessibility & contrast

On white

11.07
#2E1EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E1EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1EAC
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1EAC#FFFFFF#000000##FFFFFF
##2E1EAC1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e1eac;
/* rgb */ color: rgb(46, 30, 172);
/* oklch */ color: oklch(37.8% 0.207 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c5fc6',
    500: '#2e1eac',
    950: '#000000',
  },
}
SCSS
$custom: #2e1eac;
$custom-light: #7c5fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1eac",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 246.761,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.20741,
    "h": 275
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#2E1EAC
secondary
#BCC85E
accent
#ED3BD9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E1EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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