#34209F#34209F

#34209F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.189 H 278.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#34209F
RGBrgb(52, 32, 159)
HSLhsl(249, 66%, 37%)
HSVhsv(249, 80%, 62%)
CMYKcmyk(67.3%, 79.9%, 0%, 37.6%)
CIE-LABlab(24.53, 46.13, -64.71)
CIE-LCHlch(24.53, 79.47, 305.48°)
OKLaboklab(36.99% 0.0294 -0.1869)
OKLCHoklch(36.99% 0.189 278.9)
XYZxyz(8.1887, 4.2656, 33.1860)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34209F #8B9F20
analogous
#204B9F #34209F #74209F
triadic
#34209F #9F3420 #209F34
tetradic
#34209F #9F204B #8B9F20 #209F74
square
#34209F #9F204B #8B9F20 #209F74
split-complementary
#34209F #9F7420 #4B9F20
monochromatic
#130B39 #23166C #34209F #452AD2 #705BDE

Accessibility & contrast

On white

11.33
#34209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#34209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34209F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34209F#FFFFFF#000000##FFFFFF
##34209F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34209f;
/* rgb */ color: rgb(52, 32, 159);
/* oklch */ color: oklch(37.0% 0.189 278.9);
Tailwind
colors: {
  custom: {
    50: '#7b5fbd',
    500: '#34209f',
    950: '#000000',
  },
}
SCSS
$custom: #34209f;
$custom-light: #7b5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#34209f",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 249.449,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36994,
    "c": 0.18918,
    "h": 278.9
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#34209F
secondary
#B2C259
accent
#E93ECE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34209F

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

Preview Lab → · Contrast checker → · Palette generator →

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