#2E1D90#2E1D90

#2E1D90 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.175 H 278.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2E1D90
RGBrgb(46, 29, 144)
HSLhsl(249, 66%, 34%)
HSVhsv(249, 80%, 56%)
CMYKcmyk(68.1%, 79.9%, 0%, 43.5%)
CIE-LABlab(21.85, 42.37, -59.94)
CIE-LCHlch(21.85, 73.40, 305.26°)
OKLaboklab(34.51% 0.0264 -0.1731)
OKLCHoklch(34.51% 0.175 278.7)
XYZxyz(6.5985, 3.4726, 26.7027)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D90 #7F901D
analogous
#1D4690 #2E1D90 #681D90
triadic
#2E1D90 #902E1D #1D902E
tetradic
#2E1D90 #901D46 #7F901D #1D9068
square
#2E1D90 #901D46 #7F901D #1D9068
split-complementary
#2E1D90 #90681D #46901D
monochromatic
#0D082A #1E135D #2E1D90 #3E27C3 #614CDB

Accessibility & contrast

On white

12.39
#2E1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D90
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D90#FFFFFF#000000##FFFFFF
##2E1D901.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e1d90;
/* rgb */ color: rgb(46, 29, 144);
/* oklch */ color: oklch(34.5% 0.175 278.7);
Tailwind
colors: {
  custom: {
    50: '#765cb2',
    500: '#2e1d90',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d90;
$custom-light: #765cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d90",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 248.87,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34505,
    "c": 0.17511,
    "h": 278.7
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#2E1D90
secondary
#ADBD4B
accent
#E93ED0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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