#2E209D#2E209D

#2E209D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.188 H 276.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2E209D
RGBrgb(46, 32, 157)
HSLhsl(247, 66%, 37%)
HSVhsv(247, 80%, 62%)
CMYKcmyk(70.7%, 79.6%, 0%, 38.4%)
CIE-LABlab(23.83, 44.93, -64.67)
CIE-LCHlch(23.83, 78.75, 304.79°)
OKLaboklab(36.32% 0.0213 -0.1869)
OKLCHoklch(36.32% 0.188 276.5)
XYZxyz(7.7270, 4.0475, 32.2658)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E209D #8F9D20
analogous
#20519D #2E209D #6D209D
triadic
#2E209D #9D2E20 #209D2E
tetradic
#2E209D #9D2051 #8F9D20 #209D6D
square
#2E209D #9D2051 #8F9D20 #209D6D
split-complementary
#2E209D #9D6D20 #519D20
monochromatic
#100B37 #1F166A #2E209D #3D2AD0 #695ADD

Accessibility & contrast

On white

11.60
#2E209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E209D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E209D#FFFFFF#000000##FFFFFF
##2E209D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e209d;
/* rgb */ color: rgb(46, 32, 157);
/* oklch */ color: oklch(36.3% 0.188 276.5);
Tailwind
colors: {
  custom: {
    50: '#785fbb',
    500: '#2e209d',
    950: '#000000',
  },
}
SCSS
$custom: #2e209d;
$custom-light: #785fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e209d",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 246.72,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36316,
    "c": 0.18813,
    "h": 276.5
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#2E209D
secondary
#B6C157
accent
#E93FD6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E209D

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

Preview Lab → · Contrast checker → · Palette generator →

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