#2E1E92#2E1E92

#2E1E92 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.177 H 278.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2E1E92
RGBrgb(46, 30, 146)
HSLhsl(248, 66%, 35%)
HSVhsv(248, 79%, 57%)
CMYKcmyk(68.5%, 79.5%, 0%, 42.7%)
CIE-LABlab(22.25, 42.49, -60.52)
CIE-LCHlch(22.25, 73.94, 305.07°)
OKLaboklab(34.85% 0.0253 -0.1748)
OKLCHoklch(34.85% 0.177 278.2)
XYZxyz(6.7776, 3.5841, 27.5232)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E92 #82921E
analogous
#1E4892 #2E1E92 #681E92
triadic
#2E1E92 #922E1E #1E922E
tetradic
#2E1E92 #921E48 #82921E #1E9268
square
#2E1E92 #921E48 #82921E #1E9268
split-complementary
#2E1E92 #92681E #48921E
monochromatic
#0E092C #1E145F #2E1E92 #3E28C5 #634FDB

Accessibility & contrast

On white

12.23
#2E1E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E1E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E92
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E92#FFFFFF#000000##FFFFFF
##2E1E921.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e1e92;
/* rgb */ color: rgb(46, 30, 146);
/* oklch */ color: oklch(34.8% 0.177 278.2);
Tailwind
colors: {
  custom: {
    50: '#765db3',
    500: '#2e1e92',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e92;
$custom-light: #765db3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e92",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 248.276,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.17663,
    "h": 278.2
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

primary
#2E1E92
secondary
#AEBE4E
accent
#E93FD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1E92

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

Preview Lab → · Contrast checker → · Palette generator →

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