#3420B3#3420B3

#3420B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.2% C 0.212 H 276.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3420B3
RGBrgb(52, 32, 179)
HSLhsl(248, 70%, 41%)
HSVhsv(248, 82%, 70%)
CMYKcmyk(70.9%, 82.1%, 0%, 29.8%)
CIE-LABlab(26.78, 52.16, -73.06)
CIE-LCHlch(26.78, 89.77, 305.52°)
OKLaboklab(39.22% 0.0236 -0.2111)
OKLCHoklch(39.22% 0.212 276.4)
XYZxyz(10.0667, 5.0168, 43.0769)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3420B3 #9FB320
analogous
#2056B3 #3420B3 #7E20B3
triadic
#3420B3 #B33420 #20B334
tetradic
#3420B3 #B32056 #9FB320 #20B37E
square
#3420B3 #B32056 #9FB320 #20B37E
split-complementary
#3420B3 #B37E20 #56B320
monochromatic
#160D4B #25177F #3420B3 #4C35DB #7A69E4

Accessibility & contrast

On white

10.48
#3420B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3420B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3420B3
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3420B3#FFFFFF#000000##FFFFFF
##3420B31.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3420b3;
/* rgb */ color: rgb(52, 32, 179);
/* oklch */ color: oklch(39.2% 0.212 276.4);
Tailwind
colors: {
  custom: {
    50: '#8061cb',
    500: '#3420b3',
    950: '#000000',
  },
}
SCSS
$custom: #3420b3;
$custom-light: #8061cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3420b3",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 248.163,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39215,
    "c": 0.21246,
    "h": 276.4
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#3420B3
secondary
#BCCA65
accent
#EC3BD4
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3420B3

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

Preview Lab → · Contrast checker → · Palette generator →

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