#2E1B90#2E1B90

#2E1B90 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.177 H 278.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2E1B90
RGBrgb(46, 27, 144)
HSLhsl(250, 68%, 34%)
HSVhsv(250, 81%, 56%)
CMYKcmyk(68.1%, 81.3%, 0%, 43.5%)
CIE-LABlab(21.50, 43.38, -60.51)
CIE-LCHlch(21.50, 74.45, 305.63°)
OKLaboklab(34.26% 0.0274 -0.1748)
OKLCHoklch(34.26% 0.177 278.9)
XYZxyz(6.5511, 3.3778, 26.6869)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1B90 #7D901B
analogous
#1B4290 #2E1B90 #681B90
triadic
#2E1B90 #902E1B #1B902E
tetradic
#2E1B90 #901B42 #7D901B #1B9068
square
#2E1B90 #901B42 #7D901B #1B9068
split-complementary
#2E1B90 #90681B #42901B
monochromatic
#0D0829 #1E115C #2E1B90 #3E25C4 #6149DD

Accessibility & contrast

On white

12.53
#2E1B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E1B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1B90
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1B90#FFFFFF#000000##FFFFFF
##2E1B901.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e1b90;
/* rgb */ color: rgb(46, 27, 144);
/* oklch */ color: oklch(34.3% 0.177 278.9);
Tailwind
colors: {
  custom: {
    50: '#765bb2',
    500: '#2e1b90',
    950: '#000000',
  },
}
SCSS
$custom: #2e1b90;
$custom-light: #765bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1b90",
  "rgb": {
    "r": 46,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 249.744,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.1769,
    "h": 278.9
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#2E1B90
secondary
#ABBF48
accent
#EB3DCF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1B90

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

Preview Lab → · Contrast checker → · Palette generator →

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