#34209A#34209A

#34209A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.183 H 279.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#34209A
RGBrgb(52, 32, 154)
HSLhsl(250, 66%, 36%)
HSVhsv(250, 79%, 60%)
CMYKcmyk(66.2%, 79.2%, 0%, 39.6%)
CIE-LABlab(23.98, 44.59, -62.56)
CIE-LCHlch(23.98, 76.82, 305.48°)
OKLaboklab(36.45% 0.0308 -0.1806)
OKLCHoklch(36.45% 0.183 279.7)
XYZxyz(7.7636, 4.0956, 30.9470)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34209A #869A20
analogous
#20499A #34209A #71209A
triadic
#34209A #9A3420 #209A34
tetradic
#34209A #9A2049 #869A20 #209A71
square
#34209A #9A2049 #869A20 #209A71
split-complementary
#34209A #9A7120 #499A20
monochromatic
#120B35 #231567 #34209A #452BCD #6E58DC

Accessibility & contrast

On white

11.54
#34209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#34209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34209A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34209A#FFFFFF#000000##FFFFFF
##34209A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34209a;
/* rgb */ color: rgb(52, 32, 154);
/* oklch */ color: oklch(36.5% 0.183 279.7);
Tailwind
colors: {
  custom: {
    50: '#7a5fb9',
    500: '#34209a',
    950: '#000000',
  },
}
SCSS
$custom: #34209a;
$custom-light: #7a5fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#34209a",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 249.836,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36452,
    "c": 0.18322,
    "h": 279.7
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34209A

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

Preview Lab → · Contrast checker → · Palette generator →

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