#34219A#34219A

#34219A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.182 H 279.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#34219A
RGBrgb(52, 33, 154)
HSLhsl(249, 65%, 37%)
HSVhsv(249, 79%, 60%)
CMYKcmyk(66.2%, 78.6%, 0%, 39.6%)
CIE-LABlab(24.16, 44.09, -62.27)
CIE-LCHlch(24.16, 76.29, 305.30°)
OKLaboklab(36.58% 0.0302 -0.1798)
OKLCHoklch(36.58% 0.182 279.5)
XYZxyz(7.7909, 4.1502, 30.9561)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34219A #879A21
analogous
#214B9A #34219A #71219A
triadic
#34219A #9A3421 #219A34
tetradic
#34219A #9A214B #879A21 #219A71
square
#34219A #9A214B #879A21 #219A71
split-complementary
#34219A #9A7121 #4B9A21
monochromatic
#120B35 #231668 #34219A #452CCC #6E5ADC

Accessibility & contrast

On white

11.47
#34219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#34219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34219A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34219A#FFFFFF#000000##FFFFFF
##34219A1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34219a;
/* rgb */ color: rgb(52, 33, 154);
/* oklch */ color: oklch(36.6% 0.182 279.5);
Tailwind
colors: {
  custom: {
    50: '#7a60b9',
    500: '#34219a',
    950: '#000000',
  },
}
SCSS
$custom: #34219a;
$custom-light: #7a60b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34219a",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 249.421,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.18229,
    "h": 279.5
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#34219A
secondary
#AFC057
accent
#E840CD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34219A

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

Preview Lab → · Contrast checker → · Palette generator →

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