#2E209F#2E209F

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

Color values

HEX#2E209F
RGBrgb(46, 32, 159)
HSLhsl(247, 66%, 37%)
HSVhsv(247, 80%, 62%)
CMYKcmyk(71.1%, 79.9%, 0%, 37.6%)
CIE-LABlab(24.05, 45.56, -65.52)
CIE-LCHlch(24.05, 79.80, 304.81°)
OKLaboklab(36.54% 0.0208 -0.1894)
OKLCHoklch(36.54% 0.191 276.3)
XYZxyz(7.8992, 4.1163, 33.1724)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E209F #919F20
analogous
#20529F #2E209F #6D209F
triadic
#2E209F #9F2E20 #209F2E
tetradic
#2E209F #9F2052 #919F20 #209F6D
square
#2E209F #9F2052 #919F20 #209F6D
split-complementary
#2E209F #9F6D20 #529F20
monochromatic
#110B39 #1F166C #2E209F #3D2AD2 #6A5BDE

Accessibility & contrast

On white

11.52
#2E209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E209F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E209F#FFFFFF#000000##FFFFFF
##2E209F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e209f;
/* rgb */ color: rgb(46, 32, 159);
/* oklch */ color: oklch(36.5% 0.191 276.3);
Tailwind
colors: {
  custom: {
    50: '#795fbd',
    500: '#2e209f',
    950: '#000000',
  },
}
SCSS
$custom: #2e209f;
$custom-light: #795fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e209f",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 246.614,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36539,
    "c": 0.19053,
    "h": 276.3
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#2E209F
secondary
#B7C259
accent
#E93ED7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E209F

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

Preview Lab → · Contrast checker → · Palette generator →

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