#3421AE#3421AE

#3421AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.206 H 276.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3421AE
RGBrgb(52, 33, 174)
HSLhsl(248, 68%, 41%)
HSVhsv(248, 81%, 68%)
CMYKcmyk(70.1%, 81%, 0%, 31.8%)
CIE-LABlab(26.37, 50.20, -70.75)
CIE-LCHlch(26.37, 86.75, 305.36°)
OKLaboklab(38.76% 0.0246 -0.2045)
OKLCHoklch(38.76% 0.206 276.9)
XYZxyz(9.5975, 4.8729, 40.4710)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3421AE #9BAE21
analogous
#2154AE #3421AE #7A21AE
triadic
#3421AE #AE3421 #21AE34
tetradic
#3421AE #AE2154 #9BAE21 #21AE7A
square
#3421AE #AE2154 #9BAE21 #21AE7A
split-complementary
#3421AE #AE7A21 #54AE21
monochromatic
#150D47 #25177B #3421AE #4A34D8 #7867E2

Accessibility & contrast

On white

10.63
#3421AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3421AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3421AE
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3421AE#FFFFFF#000000##FFFFFF
##3421AE1.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3421ae;
/* rgb */ color: rgb(52, 33, 174);
/* oklch */ color: oklch(38.8% 0.206 276.9);
Tailwind
colors: {
  custom: {
    50: '#7e61c8',
    500: '#3421ae',
    950: '#000000',
  },
}
SCSS
$custom: #3421ae;
$custom-light: #7e61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3421ae",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 248.085,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38763,
    "c": 0.20594,
    "h": 276.9
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#3421AE
secondary
#BAC863
accent
#EB3DD4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3421AE

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

Preview Lab → · Contrast checker → · Palette generator →

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