#3420AC#3420AC

#3420AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.204 H 277.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3420AC
RGBrgb(52, 32, 172)
HSLhsl(249, 69%, 40%)
HSVhsv(249, 81%, 67%)
CMYKcmyk(69.8%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.98, 50.07, -70.19)
CIE-LCHlch(25.98, 86.22, 305.50°)
OKLaboklab(38.43% 0.0256 -0.2028)
OKLCHoklch(38.43% 0.204 277.2)
XYZxyz(9.3767, 4.7408, 39.4426)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3420AC #98AC20
analogous
#2052AC #3420AC #7A20AC
triadic
#3420AC #AC3420 #20AC34
tetradic
#3420AC #AC2052 #98AC20 #20AC7A
square
#3420AC #AC2052 #98AC20 #20AC7A
split-complementary
#3420AC #AC7A20 #52AC20
monochromatic
#150D45 #241678 #3420AC #4931D9 #7664E2

Accessibility & contrast

On white

10.78
#3420AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3420AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3420AC
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3420AC#FFFFFF#000000##FFFFFF
##3420AC1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3420ac;
/* rgb */ color: rgb(52, 32, 172);
/* oklch */ color: oklch(38.4% 0.204 277.2);
Tailwind
colors: {
  custom: {
    50: '#7e60c6',
    500: '#3420ac',
    950: '#000000',
  },
}
SCSS
$custom: #3420ac;
$custom-light: #7e60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3420ac",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 248.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.20442,
    "h": 277.2
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#3420AC
secondary
#B9C760
accent
#EB3CD2
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3420AC

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

Preview Lab → · Contrast checker → · Palette generator →

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