#2E2184#2E2184

#2E2184 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.156 H 279.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2E2184
RGBrgb(46, 33, 132)
HSLhsl(248, 60%, 32%)
HSVhsv(248, 75%, 52%)
CMYKcmyk(65.2%, 75%, 0%, 48.2%)
CIE-LABlab(21.33, 36.31, -53.28)
CIE-LCHlch(21.33, 64.47, 304.28°)
OKLaboklab(33.76% 0.0269 -0.1537)
OKLCHoklch(33.76% 0.156 279.9)
XYZxyz(5.8341, 3.3340, 22.1614)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2184 #778421
analogous
#214584 #2E2184 #602184
triadic
#2E2184 #842E21 #21842E
tetradic
#2E2184 #842145 #778421 #218460
square
#2E2184 #842145 #778421 #218460
split-complementary
#2E2184 #846021 #458421
monochromatic
#0C0922 #1D1553 #2E2184 #3F2DB5 #5E4DD2

Accessibility & contrast

On white

12.60
#2E2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2184
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2184#FFFFFF#000000##FFFFFF
##2E21841.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2184;
/* rgb */ color: rgb(46, 33, 132);
/* oklch */ color: oklch(33.8% 0.156 279.9);
Tailwind
colors: {
  custom: {
    50: '#735ea9',
    500: '#2e2184',
    950: '#000000',
  },
}
SCSS
$custom: #2e2184;
$custom-light: #735ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2184",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 247.879,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33763,
    "c": 0.15605,
    "h": 279.9
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#2E2184
secondary
#A8B64B
accent
#E345CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2184

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

Preview Lab → · Contrast checker → · Palette generator →

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