#2E2485#2E2485

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

Color values

HEX#2E2485
RGBrgb(46, 36, 133)
HSLhsl(246, 57%, 33%)
HSVhsv(246, 73%, 52%)
CMYKcmyk(65.4%, 72.9%, 0%, 47.8%)
CIE-LABlab(22.07, 34.87, -52.69)
CIE-LCHlch(22.07, 63.18, 303.49°)
OKLaboklab(34.32% 0.0245 -0.152)
OKLCHoklch(34.32% 0.154 279.1)
XYZxyz(5.9899, 3.5356, 22.5525)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2485 #7B8524
analogous
#244A85 #2E2485 #5E2485
triadic
#2E2485 #852E24 #24852E
tetradic
#2E2485 #85244A #7B8524 #24855E
square
#2E2485 #85244A #7B8524 #24855E
split-complementary
#2E2485 #855E24 #4A8524
monochromatic
#0D0A25 #1D1755 #2E2485 #3F31B5 #6053D0

Accessibility & contrast

On white

12.30
#2E2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2485
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2485#FFFFFF#000000##FFFFFF
##2E24851.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2485;
/* rgb */ color: rgb(46, 36, 133);
/* oklch */ color: oklch(34.3% 0.154 279.1);
Tailwind
colors: {
  custom: {
    50: '#7360a9',
    500: '#2e2485',
    950: '#000000',
  },
}
SCSS
$custom: #2e2485;
$custom-light: #7360a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2485",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 246.186,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34318,
    "c": 0.15399,
    "h": 279.1
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2485

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

Preview Lab → · Contrast checker → · Palette generator →

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