#34219F#34219F

#34219F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.188 H 278.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#34219F
RGBrgb(52, 33, 159)
HSLhsl(249, 66%, 38%)
HSVhsv(249, 79%, 62%)
CMYKcmyk(67.3%, 79.2%, 0%, 37.6%)
CIE-LABlab(24.70, 45.63, -64.43)
CIE-LCHlch(24.70, 78.95, 305.31°)
OKLaboklab(37.11% 0.0288 -0.1861)
OKLCHoklch(37.11% 0.188 278.8)
XYZxyz(8.2160, 4.3203, 33.1951)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34219F #8C9F21
analogous
#214D9F #34219F #73219F
triadic
#34219F #9F3421 #219F34
tetradic
#34219F #9F214D #8C9F21 #219F73
square
#34219F #9F214D #8C9F21 #219F73
split-complementary
#34219F #9F7321 #4D9F21
monochromatic
#130C3A #23166C #34219F #452CD2 #705DDD

Accessibility & contrast

On white

11.26
#34219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#34219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34219F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34219F#FFFFFF#000000##FFFFFF
##34219F1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34219f;
/* rgb */ color: rgb(52, 33, 159);
/* oklch */ color: oklch(37.1% 0.188 278.8);
Tailwind
colors: {
  custom: {
    50: '#7b60bd',
    500: '#34219f',
    950: '#000000',
  },
}
SCSS
$custom: #34219f;
$custom-light: #7b60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#34219f",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 249.048,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37114,
    "c": 0.1883,
    "h": 278.8
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#34219F
secondary
#B2C25A
accent
#E93FCF
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34219F

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

Preview Lab → · Contrast checker → · Palette generator →

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