#3420A6#3420A6

#3420A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.8% C 0.197 H 278.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3420A6
RGBrgb(52, 32, 166)
HSLhsl(249, 68%, 39%)
HSVhsv(249, 81%, 65%)
CMYKcmyk(68.7%, 80.7%, 0%, 34.9%)
CIE-LABlab(25.31, 48.26, -67.68)
CIE-LCHlch(25.31, 83.13, 305.49°)
OKLaboklab(37.76% 0.0274 -0.1955)
OKLCHoklch(37.76% 0.197 278)
XYZxyz(8.8134, 4.5155, 36.4761)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3420A6 #92A620
analogous
#204FA6 #3420A6 #7720A6
triadic
#3420A6 #A63420 #20A634
tetradic
#3420A6 #A6204F #92A620 #20A677
square
#3420A6 #A6204F #92A620 #20A677
split-complementary
#3420A6 #A67720 #4FA620
monochromatic
#140C3F #241673 #3420A6 #462DD6 #7360E0

Accessibility & contrast

On white

11.03
#3420A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3420A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3420A6
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3420A6#FFFFFF#000000##FFFFFF
##3420A61.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3420a6;
/* rgb */ color: rgb(52, 32, 166);
/* oklch */ color: oklch(37.8% 0.197 278.0);
Tailwind
colors: {
  custom: {
    50: '#7d60c2',
    500: '#3420a6',
    950: '#000000',
  },
}
SCSS
$custom: #3420a6;
$custom-light: #7d60c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3420a6",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 248.955,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.19743,
    "h": 278
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#3420A6
secondary
#B5C55D
accent
#EB3DD1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3420A6

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

Preview Lab → · Contrast checker → · Palette generator →

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