#34209D#34209D

#34209D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.187 H 279.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#34209D
RGBrgb(52, 32, 157)
HSLhsl(250, 66%, 37%)
HSVhsv(250, 80%, 62%)
CMYKcmyk(66.9%, 79.6%, 0%, 38.4%)
CIE-LABlab(24.31, 45.52, -63.86)
CIE-LCHlch(24.31, 78.42, 305.48°)
OKLaboklab(36.78% 0.0299 -0.1844)
OKLCHoklch(36.78% 0.187 279.2)
XYZxyz(8.0165, 4.1967, 32.2793)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34209D #899D20
analogous
#204B9D #34209D #73209D
triadic
#34209D #9D3420 #209D34
tetradic
#34209D #9D204B #899D20 #209D73
square
#34209D #9D204B #899D20 #209D73
split-complementary
#34209D #9D7320 #4B9D20
monochromatic
#120B37 #23166A #34209D #452AD0 #6F5ADD

Accessibility & contrast

On white

11.42
#34209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#34209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34209D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34209D#FFFFFF#000000##FFFFFF
##34209D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34209d;
/* rgb */ color: rgb(52, 32, 157);
/* oklch */ color: oklch(36.8% 0.187 279.2);
Tailwind
colors: {
  custom: {
    50: '#7b5fbb',
    500: '#34209d',
    950: '#000000',
  },
}
SCSS
$custom: #34209d;
$custom-light: #7b5fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#34209d",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 249.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36777,
    "c": 0.1868,
    "h": 279.2
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34209D

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

Preview Lab → · Contrast checker → · Palette generator →

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