#2E1BA6#2E1BA6

#2E1BA6 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.8% C 0.203 H 275.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2E1BA6
RGBrgb(46, 27, 166)
HSLhsl(248, 72%, 38%)
HSVhsv(248, 84%, 65%)
CMYKcmyk(72.3%, 83.7%, 0%, 34.9%)
CIE-LABlab(24.05, 50.06, -69.77)
CIE-LCHlch(24.05, 85.87, 305.66°)
OKLaboklab(36.78% 0.0208 -0.2017)
OKLCHoklch(36.78% 0.203 275.9)
XYZxyz(8.3993, 4.1171, 36.4210)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1BA6 #93A61B
analogous
#1B4EA6 #2E1BA6 #731BA6
triadic
#2E1BA6 #A62E1B #1BA62E
tetradic
#2E1BA6 #A61B4E #93A61B #1BA673
square
#2E1BA6 #A61B4E #93A61B #1BA673
split-complementary
#2E1BA6 #A6731B #4EA61B
monochromatic
#110A3D #1F1271 #2E1BA6 #3D24DB #6B58E4

Accessibility & contrast

On white

11.52
#2E1BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E1BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1BA6
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1BA6#FFFFFF#000000##FFFFFF
##2E1BA61.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e1ba6;
/* rgb */ color: rgb(46, 27, 166);
/* oklch */ color: oklch(36.8% 0.203 275.9);
Tailwind
colors: {
  custom: {
    50: '#7b5dc2',
    500: '#2e1ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ba6;
$custom-light: #7b5dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ba6",
  "rgb": {
    "r": 46,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 248.201,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36777,
    "c": 0.20273,
    "h": 275.9
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#2E1BA6
secondary
#B8C756
accent
#EF39D6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2E1BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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