#3420A3#3420A3

#3420A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.194 H 278.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#3420A3
RGBrgb(52, 32, 163)
HSLhsl(249, 67%, 38%)
HSVhsv(249, 80%, 64%)
CMYKcmyk(68.1%, 80.4%, 0%, 36.1%)
CIE-LABlab(24.97, 47.35, -66.42)
CIE-LCHlch(24.97, 81.57, 305.49°)
OKLaboklab(37.43% 0.0282 -0.1918)
OKLCHoklch(37.43% 0.194 278.4)
XYZxyz(8.5414, 4.4067, 35.0437)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3420A3 #8FA320
analogous
#204EA3 #3420A3 #7520A3
triadic
#3420A3 #A33420 #20A334
tetradic
#3420A3 #A3204E #8FA320 #20A375
square
#3420A3 #A3204E #8FA320 #20A375
split-complementary
#3420A3 #A37520 #4EA320
monochromatic
#130C3D #241670 #3420A3 #452BD5 #725EDF

Accessibility & contrast

On white

11.16
#3420A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3420A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3420A3
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3420A3#FFFFFF#000000##FFFFFF
##3420A31.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3420a3;
/* rgb */ color: rgb(52, 32, 163);
/* oklch */ color: oklch(37.4% 0.194 278.4);
Tailwind
colors: {
  custom: {
    50: '#7c60c0',
    500: '#3420a3',
    950: '#000000',
  },
}
SCSS
$custom: #3420a3;
$custom-light: #7c60c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3420a3",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 249.16,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37432,
    "c": 0.19391,
    "h": 278.4
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3420A3

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

Preview Lab → · Contrast checker → · Palette generator →

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