#2E209B#2E209B

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

Color values

HEX#2E209B
RGBrgb(46, 32, 155)
HSLhsl(247, 66%, 37%)
HSVhsv(247, 79%, 61%)
CMYKcmyk(70.3%, 79.4%, 0%, 39.2%)
CIE-LABlab(23.60, 44.30, -63.82)
CIE-LCHlch(23.60, 77.68, 304.77°)
OKLaboklab(36.09% 0.0219 -0.1844)
OKLCHoklch(36.09% 0.186 276.8)
XYZxyz(7.5577, 3.9797, 31.3739)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E209B #8D9B20
analogous
#20509B #2E209B #6C209B
triadic
#2E209B #9B2E20 #209B2E
tetradic
#2E209B #9B2050 #8D9B20 #209B6C
square
#2E209B #9B2050 #8D9B20 #209B6C
split-complementary
#2E209B #9B6C20 #509B20
monochromatic
#100B36 #1F1668 #2E209B #3D2ACE #6859DD

Accessibility & contrast

On white

11.69
#2E209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E209B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E209B#FFFFFF#000000##FFFFFF
##2E209B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e209b;
/* rgb */ color: rgb(46, 32, 155);
/* oklch */ color: oklch(36.1% 0.186 276.8);
Tailwind
colors: {
  custom: {
    50: '#785fba',
    500: '#2e209b',
    950: '#000000',
  },
}
SCSS
$custom: #2e209b;
$custom-light: #785fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e209b",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 246.829,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36094,
    "c": 0.18573,
    "h": 276.8
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#2E209B
secondary
#B5C156
accent
#E93FD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E209B

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

Preview Lab → · Contrast checker → · Palette generator →

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