#2E209A#2E209A

#2E209A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.185 H 276.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2E209A
RGBrgb(46, 32, 154)
HSLhsl(247, 66%, 36%)
HSVhsv(247, 79%, 60%)
CMYKcmyk(70.1%, 79.2%, 0%, 39.6%)
CIE-LABlab(23.49, 43.98, -63.39)
CIE-LCHlch(23.49, 77.15, 304.76°)
OKLaboklab(35.98% 0.0221 -0.1832)
OKLCHoklch(35.98% 0.185 276.9)
XYZxyz(7.4741, 3.9463, 30.9334)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E209A #8C9A20
analogous
#204F9A #2E209A #6B209A
triadic
#2E209A #9A2E20 #209A2E
tetradic
#2E209A #9A204F #8C9A20 #209A6B
square
#2E209A #9A204F #8C9A20 #209A6B
split-complementary
#2E209A #9A6B20 #4F9A20
monochromatic
#100B35 #1F1567 #2E209A #3D2BCD #6758DC

Accessibility & contrast

On white

11.74
#2E209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E209A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E209A#FFFFFF#000000##FFFFFF
##2E209A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e209a;
/* rgb */ color: rgb(46, 32, 154);
/* oklch */ color: oklch(36.0% 0.185 276.9);
Tailwind
colors: {
  custom: {
    50: '#785fb9',
    500: '#2e209a',
    950: '#000000',
  },
}
SCSS
$custom: #2e209a;
$custom-light: #785fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e209a",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 246.885,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35984,
    "c": 0.18452,
    "h": 276.9
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E209A

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

Preview Lab → · Contrast checker → · Palette generator →

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