#3420A4#3420A4

#3420A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.5% C 0.195 H 278.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#3420A4
RGBrgb(52, 32, 164)
HSLhsl(249, 67%, 38%)
HSVhsv(249, 80%, 64%)
CMYKcmyk(68.3%, 80.5%, 0%, 35.7%)
CIE-LABlab(25.08, 47.66, -66.84)
CIE-LCHlch(25.08, 82.09, 305.49°)
OKLaboklab(37.54% 0.0279 -0.1931)
OKLCHoklch(37.54% 0.195 278.2)
XYZxyz(8.6314, 4.4427, 35.5174)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3420A4 #90A420
analogous
#204EA4 #3420A4 #7620A4
triadic
#3420A4 #A43420 #20A434
tetradic
#3420A4 #A4204E #90A420 #20A476
square
#3420A4 #A4204E #90A420 #20A476
split-complementary
#3420A4 #A47620 #4EA420
monochromatic
#140C3E #241671 #3420A4 #452BD6 #725FE0

Accessibility & contrast

On white

11.12
#3420A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3420A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3420A4
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3420A4#FFFFFF#000000##FFFFFF
##3420A41.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3420a4;
/* rgb */ color: rgb(52, 32, 164);
/* oklch */ color: oklch(37.5% 0.195 278.2);
Tailwind
colors: {
  custom: {
    50: '#7c60c0',
    500: '#3420a4',
    950: '#000000',
  },
}
SCSS
$custom: #3420a4;
$custom-light: #7c60c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3420a4",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 249.091,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37542,
    "c": 0.19509,
    "h": 278.2
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#3420A4
secondary
#B4C45C
accent
#EA3ED0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3420A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3420A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva