#3420C1#3420C1

#3420C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.8% C 0.228 H 274.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3420C1
RGBrgb(52, 32, 193)
HSLhsl(247, 72%, 44%)
HSVhsv(247, 83%, 76%)
CMYKcmyk(73.1%, 83.4%, 0%, 24.3%)
CIE-LABlab(28.41, 56.26, -78.66)
CIE-LCHlch(28.41, 96.71, 305.57°)
OKLaboklab(40.81% 0.0196 -0.2274)
OKLCHoklch(40.81% 0.228 274.9)
XYZxyz(11.5552, 5.6122, 50.9160)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3420C1 #ADC120
analogous
#205DC1 #3420C1 #8520C1
triadic
#3420C1 #C13420 #20C134
tetradic
#3420C1 #C1205D #ADC120 #20C185
square
#3420C1 #C1205D #ADC120 #20C185
split-complementary
#3420C1 #C18520 #5DC120
monochromatic
#180F58 #26178D #3420C1 #533FDF #8274E8

Accessibility & contrast

On white

9.89
#3420C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3420C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3420C1
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3420C1#FFFFFF#000000##FFFFFF
##3420C11.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005473
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3420c1;
/* rgb */ color: rgb(52, 32, 193);
/* oklch */ color: oklch(40.8% 0.228 274.9);
Tailwind
colors: {
  custom: {
    50: '#8362d5',
    500: '#3420c1',
    950: '#000000',
  },
}
SCSS
$custom: #3420c1;
$custom-light: #8362d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3420c1",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 193
  },
  "hsl": {
    "h": 247.453,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.22825,
    "h": 274.9
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#3420C1
secondary
#C3CF6E
accent
#EE3AD8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0514
muted
#7D7A83

Preview Lab

Preview with #3420C1

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

Preview Lab → · Contrast checker → · Palette generator →

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