#2E1EBB#2E1EBB

#2E1EBB is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.5% C 0.224 H 273.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2E1EBB
RGBrgb(46, 30, 187)
HSLhsl(246, 72%, 43%)
HSVhsv(246, 84%, 73%)
CMYKcmyk(75.4%, 84%, 0%, 26.7%)
CIE-LABlab(27.01, 54.98, -77.46)
CIE-LCHlch(27.01, 94.99, 305.36°)
OKLaboklab(39.53% 0.0139 -0.224)
OKLCHoklch(39.53% 0.224 273.5)
XYZxyz(10.5576, 5.0961, 47.4313)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1EBB #ABBB1E
analogous
#1E5CBB #2E1EBB #7D1EBB
triadic
#2E1EBB #BB2E1E #1EBB2E
tetradic
#2E1EBB #BB1E5C #ABBB1E #1EBB7D
square
#2E1EBB #BB1E5C #ABBB1E #1EBB7D
split-complementary
#2E1EBB #BB7D1E #5CBB1E
monochromatic
#140D52 #211686 #2E1EBB #4837DF #796CE7

Accessibility & contrast

On white

10.40
#2E1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E1EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1EBB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1EBB#FFFFFF#000000##FFFFFF
##2E1EBB1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#0038B8
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e1ebb;
/* rgb */ color: rgb(46, 30, 187);
/* oklch */ color: oklch(39.5% 0.224 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f60d1',
    500: '#2e1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ebb;
$custom-light: #7f60d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ebb",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 246.115,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.22443,
    "h": 273.5
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#2E1EBB
secondary
#C3CD67
accent
#EF39DC
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2E1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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