#2E1E95#2E1E95

#2E1E95 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.180 H 277.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2E1E95
RGBrgb(46, 30, 149)
HSLhsl(248, 66%, 35%)
HSVhsv(248, 80%, 58%)
CMYKcmyk(69.1%, 79.9%, 0%, 41.6%)
CIE-LABlab(22.58, 43.43, -61.82)
CIE-LCHlch(22.58, 75.55, 305.09°)
OKLaboklab(35.18% 0.0245 -0.1786)
OKLCHoklch(35.18% 0.18 277.8)
XYZxyz(7.0140, 3.6787, 28.7684)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E95 #85951E
analogous
#1E4A95 #2E1E95 #691E95
triadic
#2E1E95 #952E1E #1E952E
tetradic
#2E1E95 #951E4A #85951E #1E9569
square
#2E1E95 #951E4A #85951E #1E9569
split-complementary
#2E1E95 #95691E #4A951E
monochromatic
#0F092F #1E1462 #2E1E95 #3E28C8 #6451DC

Accessibility & contrast

On white

12.10
#2E1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E95
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E95#FFFFFF#000000##FFFFFF
##2E1E951.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e1e95;
/* rgb */ color: rgb(46, 30, 149);
/* oklch */ color: oklch(35.2% 0.180 277.8);
Tailwind
colors: {
  custom: {
    50: '#775db5',
    500: '#2e1e95',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e95;
$custom-light: #775db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e95",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 248.067,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35181,
    "c": 0.18027,
    "h": 277.8
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#2E1E95
secondary
#B0BF50
accent
#E93ED2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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