#2E2190#2E2190

#2E2190 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.171 H 278.1°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2E2190
RGBrgb(46, 33, 144)
HSLhsl(247, 63%, 35%)
HSVhsv(247, 77%, 56%)
CMYKcmyk(68.1%, 77.1%, 0%, 43.5%)
CIE-LABlab(22.59, 40.24, -58.71)
CIE-LCHlch(22.59, 71.18, 304.43°)
OKLaboklab(35.03% 0.0241 -0.1696)
OKLCHoklch(35.03% 0.171 278.1)
XYZxyz(6.7030, 3.6816, 26.7375)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2190 #839021
analogous
#214C90 #2E2190 #662190
triadic
#2E2190 #902E21 #21902E
tetradic
#2E2190 #90214C #839021 #219066
square
#2E2190 #90214C #839021 #219066
split-complementary
#2E2190 #906621 #4C9021
monochromatic
#0E0A2C #1E165E #2E2190 #3E2CC2 #6354D8

Accessibility & contrast

On white

12.09
#2E2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2190
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2190#FFFFFF#000000##FFFFFF
##2E21901.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2190;
/* rgb */ color: rgb(46, 33, 144);
/* oklch */ color: oklch(35.0% 0.171 278.1);
Tailwind
colors: {
  custom: {
    50: '#755fb2',
    500: '#2e2190',
    950: '#000000',
  },
}
SCSS
$custom: #2e2190;
$custom-light: #755fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2190",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 247.027,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.17128,
    "h": 278.1
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#2E2190
secondary
#AFBB51
accent
#E642D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2190

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

Preview Lab → · Contrast checker → · Palette generator →

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