#2E1E90#2E1E90

#2E1E90 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.174 H 278.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2E1E90
RGBrgb(46, 30, 144)
HSLhsl(248, 66%, 34%)
HSVhsv(248, 79%, 56%)
CMYKcmyk(68.1%, 79.2%, 0%, 43.5%)
CIE-LABlab(22.03, 41.85, -59.64)
CIE-LCHlch(22.03, 72.86, 305.06°)
OKLaboklab(34.63% 0.0258 -0.1723)
OKLCHoklch(34.63% 0.174 278.5)
XYZxyz(6.6234, 3.5224, 26.7110)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E90 #80901E
analogous
#1E4790 #2E1E90 #671E90
triadic
#2E1E90 #902E1E #1E902E
tetradic
#2E1E90 #901E47 #80901E #1E9067
square
#2E1E90 #901E47 #80901E #1E9067
split-complementary
#2E1E90 #90671E #47901E
monochromatic
#0E092B #1E135D #2E1E90 #3E29C3 #624EDA

Accessibility & contrast

On white

12.32
#2E1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E90
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E90#FFFFFF#000000##FFFFFF
##2E1E901.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e1e90;
/* rgb */ color: rgb(46, 30, 144);
/* oklch */ color: oklch(34.6% 0.174 278.5);
Tailwind
colors: {
  custom: {
    50: '#765db2',
    500: '#2e1e90',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e90;
$custom-light: #765db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e90",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 248.421,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3463,
    "c": 0.17419,
    "h": 278.5
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#2E1E90
secondary
#ADBD4D
accent
#E83FD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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