#2E2799#2E2799

#2E2799 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.176 H 276.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2E2799
RGBrgb(46, 39, 153)
HSLhsl(244, 59%, 38%)
HSVhsv(244, 75%, 60%)
CMYKcmyk(69.9%, 74.5%, 0%, 40%)
CIE-LABlab(24.74, 39.82, -60.72)
CIE-LCHlch(24.74, 72.61, 303.26°)
OKLaboklab(36.83% 0.0185 -0.1755)
OKLCHoklch(36.83% 0.176 276)
XYZxyz(7.6001, 4.3311, 30.5663)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2799 #929927
analogous
#275999 #2E2799 #672799
triadic
#2E2799 #992E27 #27992E
tetradic
#2E2799 #992759 #929927 #279967
square
#2E2799 #992759 #929927 #279967
split-complementary
#2E2799 #996727 #599927
monochromatic
#110E37 #1F1B68 #2E2799 #3D33CA #6A63D7

Accessibility & contrast

On white

11.25
#2E2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2799
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2799#FFFFFF#000000##FFFFFF
##2E27991.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2799;
/* rgb */ color: rgb(46, 39, 153);
/* oklch */ color: oklch(36.8% 0.176 276.0);
Tailwind
colors: {
  custom: {
    50: '#7763b8',
    500: '#2e2799',
    950: '#000000',
  },
}
SCSS
$custom: #2e2799;
$custom-light: #7763b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2799",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 243.684,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36828,
    "c": 0.17647,
    "h": 276
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#2E2799
secondary
#B7BD5F
accent
#E345D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E2799

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

Preview Lab → · Contrast checker → · Palette generator →

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