#2E2496#2E2496

#2E2496 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.176 H 276.8°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2E2496
RGBrgb(46, 36, 150)
HSLhsl(245, 61%, 36%)
HSVhsv(245, 76%, 59%)
CMYKcmyk(69.3%, 76%, 0%, 41.2%)
CIE-LABlab(23.82, 40.53, -60.39)
CIE-LCHlch(23.82, 72.73, 303.87°)
OKLaboklab(36.08% 0.0209 -0.1745)
OKLCHoklch(36.08% 0.176 276.8)
XYZxyz(7.2608, 4.0440, 29.2462)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2496 #8C9624
analogous
#245396 #2E2496 #672496
triadic
#2E2496 #962E24 #24962E
tetradic
#2E2496 #962453 #8C9624 #249667
square
#2E2496 #962453 #8C9624 #249667
split-complementary
#2E2496 #966724 #539624
monochromatic
#100C33 #1F1865 #2E2496 #3D30C7 #675CD8

Accessibility & contrast

On white

11.61
#2E2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2496
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2496#FFFFFF#000000##FFFFFF
##2E24961.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2496;
/* rgb */ color: rgb(46, 36, 150);
/* oklch */ color: oklch(36.1% 0.176 276.8);
Tailwind
colors: {
  custom: {
    50: '#7661b6',
    500: '#2e2496',
    950: '#000000',
  },
}
SCSS
$custom: #2e2496;
$custom-light: #7661b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2496",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 245.263,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36082,
    "c": 0.17577,
    "h": 276.8
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#2E2496
secondary
#B4BD59
accent
#E443D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2496

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

Preview Lab → · Contrast checker → · Palette generator →

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