#3420A9#3420A9

#3420A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.201 H 277.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3420A9
RGBrgb(52, 32, 169)
HSLhsl(249, 68%, 39%)
HSVhsv(249, 81%, 66%)
CMYKcmyk(69.2%, 81.1%, 0%, 33.7%)
CIE-LABlab(25.64, 49.17, -68.94)
CIE-LCHlch(25.64, 84.68, 305.50°)
OKLaboklab(38.1% 0.0265 -0.1992)
OKLCHoklch(38.1% 0.201 277.6)
XYZxyz(9.0918, 4.6269, 37.9424)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3420A9 #95A920
analogous
#2051A9 #3420A9 #7920A9
triadic
#3420A9 #A93420 #20A934
tetradic
#3420A9 #A92051 #95A920 #20A979
square
#3420A9 #A92051 #95A920 #20A979
split-complementary
#3420A9 #A97920 #51A920
monochromatic
#140D42 #241676 #3420A9 #472FD8 #7562E1

Accessibility & contrast

On white

10.91
#3420A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3420A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3420A9
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3420A9#FFFFFF#000000##FFFFFF
##3420A91.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3420a9;
/* rgb */ color: rgb(52, 32, 169);
/* oklch */ color: oklch(38.1% 0.201 277.6);
Tailwind
colors: {
  custom: {
    50: '#7d60c4',
    500: '#3420a9',
    950: '#000000',
  },
}
SCSS
$custom: #3420a9;
$custom-light: #7d60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3420a9",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 248.759,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38095,
    "c": 0.20094,
    "h": 277.6
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#3420A9
secondary
#B7C65F
accent
#EB3DD2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3420A9

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

Preview Lab → · Contrast checker → · Palette generator →

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