#2E2486#2E2486

#2E2486 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.155 H 279.0°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2E2486
RGBrgb(46, 36, 134)
HSLhsl(246, 58%, 33%)
HSVhsv(246, 73%, 53%)
CMYKcmyk(65.7%, 73.1%, 0%, 47.5%)
CIE-LABlab(22.17, 35.21, -53.16)
CIE-LCHlch(22.17, 63.76, 303.52°)
OKLaboklab(34.42% 0.0243 -0.1534)
OKLCHoklch(34.42% 0.155 279)
XYZxyz(6.0593, 3.5633, 22.9181)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2486 #7C8624
analogous
#244B86 #2E2486 #5F2486
triadic
#2E2486 #862E24 #24862E
tetradic
#2E2486 #86244B #7C8624 #24865F
square
#2E2486 #86244B #7C8624 #24865F
split-complementary
#2E2486 #865F24 #4B8624
monochromatic
#0D0A26 #1D1756 #2E2486 #3F31B6 #6053D1

Accessibility & contrast

On white

12.26
#2E2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2486
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2486#FFFFFF#000000##FFFFFF
##2E24861.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2486;
/* rgb */ color: rgb(46, 36, 134);
/* oklch */ color: oklch(34.4% 0.155 279.0);
Tailwind
colors: {
  custom: {
    50: '#7360aa',
    500: '#2e2486',
    950: '#000000',
  },
}
SCSS
$custom: #2e2486;
$custom-light: #7360aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2486",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 246.122,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3442,
    "c": 0.1553,
    "h": 279
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#2E2486
secondary
#ABB551
accent
#E147D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2486

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

Preview Lab → · Contrast checker → · Palette generator →

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