#34209B#34209B

#34209B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.6% C 0.184 H 279.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#34209B
RGBrgb(52, 32, 155)
HSLhsl(250, 66%, 37%)
HSVhsv(250, 79%, 61%)
CMYKcmyk(66.5%, 79.4%, 0%, 39.2%)
CIE-LABlab(24.09, 44.90, -62.99)
CIE-LCHlch(24.09, 77.36, 305.48°)
OKLaboklab(36.56% 0.0305 -0.1819)
OKLCHoklch(36.56% 0.184 279.5)
XYZxyz(7.8472, 4.1290, 31.3874)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34209B #879B20
analogous
#204A9B #34209B #72209B
triadic
#34209B #9B3420 #209B34
tetradic
#34209B #9B204A #879B20 #209B72
square
#34209B #9B204A #879B20 #209B72
split-complementary
#34209B #9B7220 #4A9B20
monochromatic
#120B36 #231668 #34209B #452ACE #6E59DD

Accessibility & contrast

On white

11.50
#34209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#34209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34209B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34209B#FFFFFF#000000##FFFFFF
##34209B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34209b;
/* rgb */ color: rgb(52, 32, 155);
/* oklch */ color: oklch(36.6% 0.184 279.5);
Tailwind
colors: {
  custom: {
    50: '#7a5fba',
    500: '#34209b',
    950: '#000000',
  },
}
SCSS
$custom: #34209b;
$custom-light: #7a5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#34209b",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 249.756,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3656,
    "c": 0.18442,
    "h": 279.5
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#34209B
secondary
#AFC156
accent
#E93FCD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34209B

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

Preview Lab → · Contrast checker → · Palette generator →

#34209B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva