#2E2386#2E2386

#2E2386 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.156 H 279.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2E2386
RGBrgb(46, 35, 134)
HSLhsl(247, 59%, 33%)
HSVhsv(247, 74%, 53%)
CMYKcmyk(65.7%, 73.9%, 0%, 47.5%)
CIE-LABlab(21.96, 35.80, -53.51)
CIE-LCHlch(21.96, 64.38, 303.78°)
OKLaboklab(34.27% 0.025 -0.1544)
OKLCHoklch(34.27% 0.156 279.2)
XYZxyz(6.0294, 3.5037, 22.9082)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2386 #7B8623
analogous
#234986 #2E2386 #5F2386
triadic
#2E2386 #862E23 #23862E
tetradic
#2E2386 #862349 #7B8623 #23865F
square
#2E2386 #862349 #7B8623 #23865F
split-complementary
#2E2386 #865F23 #498623
monochromatic
#0D0A25 #1D1655 #2E2386 #3F30B7 #6052D2

Accessibility & contrast

On white

12.35
#2E2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2386
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2386#FFFFFF#000000##FFFFFF
##2E23861.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2386;
/* rgb */ color: rgb(46, 35, 134);
/* oklch */ color: oklch(34.3% 0.156 279.2);
Tailwind
colors: {
  custom: {
    50: '#735faa',
    500: '#2e2386',
    950: '#000000',
  },
}
SCSS
$custom: #2e2386;
$custom-light: #735faa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2386",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 246.667,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34267,
    "c": 0.15642,
    "h": 279.2
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#2E2386
secondary
#AAB54F
accent
#E246D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2386

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

Preview Lab → · Contrast checker → · Palette generator →

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