#2E2284#2E2284

#2E2284 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.155 H 279.7°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2E2284
RGBrgb(46, 34, 132)
HSLhsl(247, 59%, 33%)
HSVhsv(247, 74%, 52%)
CMYKcmyk(65.2%, 74.2%, 0%, 48.2%)
CIE-LABlab(21.54, 35.72, -52.93)
CIE-LCHlch(21.54, 63.86, 304.02°)
OKLaboklab(33.91% 0.0262 -0.1527)
OKLCHoklch(33.91% 0.155 279.7)
XYZxyz(5.8623, 3.3904, 22.1708)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2284 #788422
analogous
#224784 #2E2284 #5F2284
triadic
#2E2284 #842E22 #22842E
tetradic
#2E2284 #842247 #788422 #22845F
square
#2E2284 #842247 #788422 #22845F
split-complementary
#2E2284 #845F22 #478422
monochromatic
#0C0923 #1D1553 #2E2284 #3F2FB5 #5F4FD2

Accessibility & contrast

On white

12.51
#2E2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2284
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2284#FFFFFF#000000##FFFFFF
##2E22841.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2284;
/* rgb */ color: rgb(46, 34, 132);
/* oklch */ color: oklch(33.9% 0.155 279.7);
Tailwind
colors: {
  custom: {
    50: '#735fa9',
    500: '#2e2284',
    950: '#000000',
  },
}
SCSS
$custom: #2e2284;
$custom-light: #735fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2284",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 247.347,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33911,
    "c": 0.15494,
    "h": 279.7
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#2E2284
secondary
#A8B54D
accent
#E246CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2284

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

Preview Lab → · Contrast checker → · Palette generator →

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