#2E1EB3#2E1EB3

#2E1EB3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.215 H 274.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2E1EB3
RGBrgb(46, 30, 179)
HSLhsl(246, 71%, 41%)
HSVhsv(246, 83%, 70%)
CMYKcmyk(74.3%, 83.2%, 0%, 29.8%)
CIE-LABlab(26.05, 52.61, -74.29)
CIE-LCHlch(26.05, 91.03, 305.31°)
OKLaboklab(38.6% 0.0161 -0.2148)
OKLCHoklch(38.6% 0.215 274.3)
XYZxyz(9.7250, 4.7631, 43.0459)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1EB3 #A3B31E
analogous
#1E58B3 #2E1EB3 #781EB3
triadic
#2E1EB3 #B32E1E #1EB32E
tetradic
#2E1EB3 #B31E58 #A3B31E #1EB378
square
#2E1EB3 #B31E58 #A3B31E #1EB378
split-complementary
#2E1EB3 #B3781E #58B31E
monochromatic
#130C4A #21157F #2E1EB3 #4432DD #7466E5

Accessibility & contrast

On white

10.75
#2E1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E1EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1EB3
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1EB3#FFFFFF#000000##FFFFFF
##2E1EB31.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e1eb3;
/* rgb */ color: rgb(46, 30, 179);
/* oklch */ color: oklch(38.6% 0.215 274.3);
Tailwind
colors: {
  custom: {
    50: '#7e5fcb',
    500: '#2e1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e1eb3;
$custom-light: #7e5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1eb3",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 246.443,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38597,
    "c": 0.21541,
    "h": 274.3
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#2E1EB3
secondary
#BFCB62
accent
#EE3ADB
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2E1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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