#2E1C90#2E1C90

#2E1C90 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.176 H 278.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2E1C90
RGBrgb(46, 28, 144)
HSLhsl(249, 67%, 34%)
HSVhsv(249, 81%, 56%)
CMYKcmyk(68.1%, 80.6%, 0%, 43.5%)
CIE-LABlab(21.67, 42.88, -60.23)
CIE-LCHlch(21.67, 73.93, 305.45°)
OKLaboklab(34.38% 0.0269 -0.1739)
OKLCHoklch(34.38% 0.176 278.8)
XYZxyz(6.5744, 3.4244, 26.6947)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1C90 #7E901C
analogous
#1C4490 #2E1C90 #681C90
triadic
#2E1C90 #902E1C #1C902E
tetradic
#2E1C90 #901C44 #7E901C #1C9068
square
#2E1C90 #901C44 #7E901C #1C9068
split-complementary
#2E1C90 #90681C #44901C
monochromatic
#0D082A #1E125D #2E1C90 #3E26C3 #614ADC

Accessibility & contrast

On white

12.46
#2E1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1C90
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1C90#FFFFFF#000000##FFFFFF
##2E1C901.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.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: #2e1c90;
/* rgb */ color: rgb(46, 28, 144);
/* oklch */ color: oklch(34.4% 0.176 278.8);
Tailwind
colors: {
  custom: {
    50: '#765cb2',
    500: '#2e1c90',
    950: '#000000',
  },
}
SCSS
$custom: #2e1c90;
$custom-light: #765cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1c90",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 249.31,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34382,
    "c": 0.17602,
    "h": 278.8
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#2E1C90
secondary
#ACBE4A
accent
#EA3DD0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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