#34209C#34209C

#34209C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.186 H 279.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#34209C
RGBrgb(52, 32, 156)
HSLhsl(250, 66%, 37%)
HSVhsv(250, 79%, 61%)
CMYKcmyk(66.7%, 79.5%, 0%, 38.8%)
CIE-LABlab(24.20, 45.21, -63.42)
CIE-LCHlch(24.20, 77.89, 305.48°)
OKLaboklab(36.67% 0.0302 -0.1831)
OKLCHoklch(36.67% 0.186 279.4)
XYZxyz(7.9315, 4.1627, 31.8316)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34209C #889C20
analogous
#204A9C #34209C #72209C
triadic
#34209C #9C3420 #209C34
tetradic
#34209C #9C204A #889C20 #209C72
square
#34209C #9C204A #889C20 #209C72
split-complementary
#34209C #9C7220 #4A9C20
monochromatic
#120B36 #231669 #34209C #452ACF #6F59DD

Accessibility & contrast

On white

11.46
#34209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34209C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34209C#FFFFFF#000000##FFFFFF
##34209C1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34209c;
/* rgb */ color: rgb(52, 32, 156);
/* oklch */ color: oklch(36.7% 0.186 279.4);
Tailwind
colors: {
  custom: {
    50: '#7b5fba',
    500: '#34209c',
    950: '#000000',
  },
}
SCSS
$custom: #34209c;
$custom-light: #7b5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#34209c",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 249.677,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36668,
    "c": 0.18562,
    "h": 279.4
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34209C

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

Preview Lab → · Contrast checker → · Palette generator →

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