#2E209C#2E209C

#2E209C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.187 H 276.6°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#2E209C
RGBrgb(46, 32, 156)
HSLhsl(247, 66%, 37%)
HSVhsv(247, 79%, 61%)
CMYKcmyk(70.5%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.72, 44.61, -64.24)
CIE-LCHlch(23.72, 78.22, 304.78°)
OKLaboklab(36.21% 0.0216 -0.1857)
OKLCHoklch(36.21% 0.187 276.6)
XYZxyz(7.6420, 4.0135, 31.8180)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E209C #8E9C20
analogous
#20509C #2E209C #6C209C
triadic
#2E209C #9C2E20 #209C2E
tetradic
#2E209C #9C2050 #8E9C20 #209C6C
square
#2E209C #9C2050 #8E9C20 #209C6C
split-complementary
#2E209C #9C6C20 #509C20
monochromatic
#100B36 #1F1669 #2E209C #3D2ACF #6859DD

Accessibility & contrast

On white

11.65
#2E209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E209C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E209C#FFFFFF#000000##FFFFFF
##2E209C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e209c;
/* rgb */ color: rgb(46, 32, 156);
/* oklch */ color: oklch(36.2% 0.187 276.6);
Tailwind
colors: {
  custom: {
    50: '#785fba',
    500: '#2e209c',
    950: '#000000',
  },
}
SCSS
$custom: #2e209c;
$custom-light: #785fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e209c",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 246.774,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36205,
    "c": 0.18693,
    "h": 276.6
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E209C

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

Preview Lab → · Contrast checker → · Palette generator →

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