#3420A8#3420A8

#3420A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 38.0% C 0.200 H 277.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3420A8
RGBrgb(52, 32, 168)
HSLhsl(249, 68%, 39%)
HSVhsv(249, 81%, 66%)
CMYKcmyk(69%, 81%, 0%, 34.1%)
CIE-LABlab(25.53, 48.87, -68.52)
CIE-LCHlch(25.53, 84.16, 305.50°)
OKLaboklab(37.98% 0.0268 -0.198)
OKLCHoklch(37.98% 0.2 277.7)
XYZxyz(8.9983, 4.5894, 37.4498)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3420A8 #94A820
analogous
#2050A8 #3420A8 #7820A8
triadic
#3420A8 #A83420 #20A834
tetradic
#3420A8 #A82050 #94A820 #20A878
square
#3420A8 #A82050 #94A820 #20A878
split-complementary
#3420A8 #A87820 #50A820
monochromatic
#140C41 #241675 #3420A8 #472ED7 #7461E1

Accessibility & contrast

On white

10.95
#3420A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3420A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3420A8
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3420A8#FFFFFF#000000##FFFFFF
##3420A81.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3420a8;
/* rgb */ color: rgb(52, 32, 168);
/* oklch */ color: oklch(38.0% 0.200 277.7);
Tailwind
colors: {
  custom: {
    50: '#7d60c3',
    500: '#3420a8',
    950: '#000000',
  },
}
SCSS
$custom: #3420a8;
$custom-light: #7d60c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3420a8",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 248.824,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37984,
    "c": 0.19977,
    "h": 277.7
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3420A8

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

Preview Lab → · Contrast checker → · Palette generator →

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