#34219D#34219D

#34219D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.186 H 279.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#34219D
RGBrgb(52, 33, 157)
HSLhsl(249, 65%, 37%)
HSVhsv(249, 79%, 62%)
CMYKcmyk(66.9%, 79%, 0%, 38.4%)
CIE-LABlab(24.49, 45.02, -63.57)
CIE-LCHlch(24.49, 77.89, 305.30°)
OKLaboklab(36.9% 0.0294 -0.1836)
OKLCHoklch(36.9% 0.186 279.1)
XYZxyz(8.0439, 4.2514, 32.2885)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34219D #8A9D21
analogous
#214C9D #34219D #72219D
triadic
#34219D #9D3421 #219D34
tetradic
#34219D #9D214C #8A9D21 #219D72
square
#34219D #9D214C #8A9D21 #219D72
split-complementary
#34219D #9D7221 #4C9D21
monochromatic
#130C38 #23166A #34219D #452CD0 #6F5CDD

Accessibility & contrast

On white

11.35
#34219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#34219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34219D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34219D#FFFFFF#000000##FFFFFF
##34219D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34219d;
/* rgb */ color: rgb(52, 33, 157);
/* oklch */ color: oklch(36.9% 0.186 279.1);
Tailwind
colors: {
  custom: {
    50: '#7b60bb',
    500: '#34219d',
    950: '#000000',
  },
}
SCSS
$custom: #34219d;
$custom-light: #7b60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34219d",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 249.194,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36898,
    "c": 0.18591,
    "h": 279.1
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#34219D
secondary
#B1C159
accent
#E840CE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34219D

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

Preview Lab → · Contrast checker → · Palette generator →

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