#2E2586#2E2586

#2E2586 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.154 H 278.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2586
RGBrgb(46, 37, 134)
HSLhsl(246, 57%, 34%)
HSVhsv(246, 72%, 53%)
CMYKcmyk(65.7%, 72.4%, 0%, 47.5%)
CIE-LABlab(22.39, 34.60, -52.80)
CIE-LCHlch(22.39, 63.13, 303.24°)
OKLaboklab(34.58% 0.0235 -0.1523)
OKLCHoklch(34.58% 0.154 278.8)
XYZxyz(6.0900, 3.6247, 22.9283)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2586 #7D8625
analogous
#254C86 #2E2586 #5E2586
triadic
#2E2586 #862E25 #25862E
tetradic
#2E2586 #86254C #7D8625 #25865E
square
#2E2586 #86254C #7D8625 #25865E
split-complementary
#2E2586 #865E25 #4C8625
monochromatic
#0D0B26 #1E1856 #2E2586 #3E32B6 #6155D0

Accessibility & contrast

On white

12.17
#2E2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E2586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2586
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2586#FFFFFF#000000##FFFFFF
##2E25861.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2586;
/* rgb */ color: rgb(46, 37, 134);
/* oklch */ color: oklch(34.6% 0.154 278.8);
Tailwind
colors: {
  custom: {
    50: '#7361aa',
    500: '#2e2586',
    950: '#000000',
  },
}
SCSS
$custom: #2e2586;
$custom-light: #7361aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2586",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 245.567,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34575,
    "c": 0.15415,
    "h": 278.8
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#2E2586
secondary
#ABB452
accent
#E048D2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2586

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

Preview Lab → · Contrast checker → · Palette generator →

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