#2E2399#2E2399

#2E2399 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.180 H 276.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2E2399
RGBrgb(46, 35, 153)
HSLhsl(246, 63%, 37%)
HSVhsv(246, 77%, 60%)
CMYKcmyk(69.9%, 77.1%, 0%, 40%)
CIE-LABlab(23.94, 42.07, -62.03)
CIE-LCHlch(23.94, 74.95, 304.14°)
OKLaboklab(36.27% 0.0208 -0.1793)
OKLCHoklch(36.27% 0.18 276.6)
XYZxyz(7.4756, 4.0821, 30.5248)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2399 #8E9923
analogous
#235399 #2E2399 #692399
triadic
#2E2399 #992E23 #23992E
tetradic
#2E2399 #992353 #8E9923 #239969
square
#2E2399 #992353 #8E9923 #239969
split-complementary
#2E2399 #996923 #539923
monochromatic
#100C35 #1F1867 #2E2399 #3D2ECB #685DDA

Accessibility & contrast

On white

11.56
#2E2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2399
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2399#FFFFFF#000000##FFFFFF
##2E23991.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2399;
/* rgb */ color: rgb(46, 35, 153);
/* oklch */ color: oklch(36.3% 0.180 276.6);
Tailwind
colors: {
  custom: {
    50: '#7760b8',
    500: '#2e2399',
    950: '#000000',
  },
}
SCSS
$custom: #2e2399;
$custom-light: #7760b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2399",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 245.593,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36266,
    "c": 0.18048,
    "h": 276.6
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#2E2399
secondary
#B5BE59
accent
#E642D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E2399

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

Preview Lab → · Contrast checker → · Palette generator →

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