#3421AC#3421AC

#3421AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.204 H 277.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3421AC
RGBrgb(52, 33, 172)
HSLhsl(248, 68%, 40%)
HSVhsv(248, 81%, 67%)
CMYKcmyk(69.8%, 80.8%, 0%, 32.5%)
CIE-LABlab(26.14, 49.60, -69.92)
CIE-LCHlch(26.14, 85.73, 305.35°)
OKLaboklab(38.54% 0.0252 -0.202)
OKLCHoklch(38.54% 0.204 277.1)
XYZxyz(9.4040, 4.7955, 39.4518)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3421AC #99AC21
analogous
#2154AC #3421AC #7921AC
triadic
#3421AC #AC3421 #21AC34
tetradic
#3421AC #AC2154 #99AC21 #21AC79
square
#3421AC #AC2154 #99AC21 #21AC79
split-complementary
#3421AC #AC7921 #54AC21
monochromatic
#150D45 #241779 #3421AC #4932D8 #7766E2

Accessibility & contrast

On white

10.72
#3421AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3421AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3421AC
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3421AC#FFFFFF#000000##FFFFFF
##3421AC1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3421ac;
/* rgb */ color: rgb(52, 33, 172);
/* oklch */ color: oklch(38.5% 0.204 277.1);
Tailwind
colors: {
  custom: {
    50: '#7e61c6',
    500: '#3421ac',
    950: '#000000',
  },
}
SCSS
$custom: #3421ac;
$custom-light: #7e61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3421ac",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 248.201,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.20361,
    "h": 277.1
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#3421AC
secondary
#B9C762
accent
#EB3DD3
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3421AC

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

Preview Lab → · Contrast checker → · Palette generator →

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