#34209E#34209E

#34209E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.9% C 0.188 H 279.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#34209E
RGBrgb(52, 32, 158)
HSLhsl(250, 66%, 37%)
HSVhsv(250, 80%, 62%)
CMYKcmyk(67.1%, 79.7%, 0%, 38%)
CIE-LABlab(24.42, 45.82, -64.29)
CIE-LCHlch(24.42, 78.95, 305.48°)
OKLaboklab(36.89% 0.0297 -0.1856)
OKLCHoklch(36.89% 0.188 279.1)
XYZxyz(8.1023, 4.2310, 32.7308)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34209E #8A9E20
analogous
#204B9E #34209E #73209E
triadic
#34209E #9E3420 #209E34
tetradic
#34209E #9E204B #8A9E20 #209E73
square
#34209E #9E204B #8A9E20 #209E73
split-complementary
#34209E #9E7320 #4B9E20
monochromatic
#130B38 #23166B #34209E #452AD1 #6F5BDE

Accessibility & contrast

On white

11.37
#34209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34209E
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34209E#FFFFFF#000000##FFFFFF
##34209E1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34209e;
/* rgb */ color: rgb(52, 32, 158);
/* oklch */ color: oklch(36.9% 0.188 279.1);
Tailwind
colors: {
  custom: {
    50: '#7b5fbc',
    500: '#34209e',
    950: '#000000',
  },
}
SCSS
$custom: #34209e;
$custom-light: #7b5fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#34209e",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 249.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36885,
    "c": 0.188,
    "h": 279.1
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#34209E
secondary
#B1C258
accent
#E93FCE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34209E

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

Preview Lab → · Contrast checker → · Palette generator →

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