#3421A2#3421A2

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

Color values

HEX#3421A2
RGBrgb(52, 33, 162)
HSLhsl(249, 66%, 38%)
HSVhsv(249, 80%, 64%)
CMYKcmyk(67.9%, 79.6%, 0%, 36.5%)
CIE-LABlab(25.03, 46.56, -65.71)
CIE-LCHlch(25.03, 80.53, 305.32°)
OKLaboklab(37.44% 0.028 -0.1898)
OKLCHoklch(37.44% 0.192 278.4)
XYZxyz(8.4795, 4.4257, 34.5828)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3421A2 #8FA221
analogous
#214EA2 #3421A2 #7421A2
triadic
#3421A2 #A23421 #21A234
tetradic
#3421A2 #A2214E #8FA221 #21A274
square
#3421A2 #A2214E #8FA221 #21A274
split-complementary
#3421A2 #A27421 #4EA221
monochromatic
#130C3C #24176F #3421A2 #452CD4 #725FDE

Accessibility & contrast

On white

11.14
#3421A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3421A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3421A2
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3421A2#FFFFFF#000000##FFFFFF
##3421A21.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3421a2;
/* rgb */ color: rgb(52, 33, 162);
/* oklch */ color: oklch(37.4% 0.192 278.4);
Tailwind
colors: {
  custom: {
    50: '#7c60bf',
    500: '#3421a2',
    950: '#000000',
  },
}
SCSS
$custom: #3421a2;
$custom-light: #7c60bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3421a2",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 248.837,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3744,
    "c": 0.19187,
    "h": 278.4
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#3421A2
secondary
#B4C35C
accent
#E93FD0
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3421A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3421A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva