#2E2599#2E2599

#2E2599 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.179 H 276.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2E2599
RGBrgb(46, 37, 153)
HSLhsl(245, 61%, 37%)
HSVhsv(245, 76%, 60%)
CMYKcmyk(69.9%, 75.8%, 0%, 40%)
CIE-LABlab(24.33, 40.96, -61.39)
CIE-LCHlch(24.33, 73.80, 303.71°)
OKLaboklab(36.54% 0.0197 -0.1774)
OKLCHoklch(36.54% 0.179 276.3)
XYZxyz(7.5362, 4.2032, 30.5450)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2599 #909925
analogous
#255699 #2E2599 #682599
triadic
#2E2599 #992E25 #25992E
tetradic
#2E2599 #992556 #909925 #259968
square
#2E2599 #992556 #909925 #259968
split-complementary
#2E2599 #996825 #569925
monochromatic
#100D36 #1F1968 #2E2599 #3D31CA #6960D9

Accessibility & contrast

On white

11.41
#2E2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2599
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2599#FFFFFF#000000##FFFFFF
##2E25991.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2599;
/* rgb */ color: rgb(46, 37, 153);
/* oklch */ color: oklch(36.5% 0.179 276.3);
Tailwind
colors: {
  custom: {
    50: '#7762b8',
    500: '#2e2599',
    950: '#000000',
  },
}
SCSS
$custom: #2e2599;
$custom-light: #7762b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2599",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 244.655,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36542,
    "c": 0.17851,
    "h": 276.3
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#2E2599
secondary
#B6BE5C
accent
#E444D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E2599

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

Preview Lab → · Contrast checker → · Palette generator →

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