#2E2584#2E2584

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

Color values

HEX#2E2584
RGBrgb(46, 37, 132)
HSLhsl(246, 56%, 33%)
HSVhsv(246, 72%, 52%)
CMYKcmyk(65.2%, 72%, 0%, 48.2%)
CIE-LABlab(22.19, 33.92, -51.86)
CIE-LCHlch(22.19, 61.97, 303.19°)
OKLaboklab(34.38% 0.0239 -0.1496)
OKLCHoklch(34.38% 0.152 279.1)
XYZxyz(5.9518, 3.5695, 22.2007)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2584 #7B8425
analogous
#254B84 #2E2584 #5D2584
triadic
#2E2584 #842E25 #25842E
tetradic
#2E2584 #84254B #7B8425 #25845D
square
#2E2584 #84254B #7B8425 #25845D
split-complementary
#2E2584 #845D25 #4B8425
monochromatic
#0D0A24 #1D1854 #2E2584 #3F32B4 #6054CF

Accessibility & contrast

On white

12.25
#2E2584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2584
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2584#FFFFFF#000000##FFFFFF
##2E25841.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2584;
/* rgb */ color: rgb(46, 37, 132);
/* oklch */ color: oklch(34.4% 0.152 279.1);
Tailwind
colors: {
  custom: {
    50: '#7261a9',
    500: '#2e2584',
    950: '#000000',
  },
}
SCSS
$custom: #2e2584;
$custom-light: #7261a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2584",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 245.684,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.15151,
    "h": 279.1
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#2E2584
secondary
#AAB351
accent
#E048D1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2584

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

Preview Lab → · Contrast checker → · Palette generator →

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