#3421BD#3421BD

#3421BD is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.5% C 0.223 H 275.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3421BD
RGBrgb(52, 33, 189)
HSLhsl(247, 70%, 44%)
HSVhsv(247, 83%, 74%)
CMYKcmyk(72.5%, 82.5%, 0%, 25.9%)
CIE-LABlab(28.09, 54.67, -76.84)
CIE-LCHlch(28.09, 94.30, 305.43°)
OKLaboklab(40.45% 0.0204 -0.2221)
OKLCHoklch(40.45% 0.223 275.2)
XYZxyz(11.1423, 5.4908, 48.6069)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3421BD #AABD21
analogous
#215CBD #3421BD #8221BD
triadic
#3421BD #BD3421 #21BD34
tetradic
#3421BD #BD215C #AABD21 #21BD82
square
#3421BD #BD215C #AABD21 #21BD82
split-complementary
#3421BD #BD8221 #5CBD21
monochromatic
#170F55 #261889 #3421BD #513EDD #8072E6

Accessibility & contrast

On white

10.01
#3421BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3421BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3421BD
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3421BD#FFFFFF#000000##FFFFFF
##3421BD1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3421bd;
/* rgb */ color: rgb(52, 33, 189);
/* oklch */ color: oklch(40.5% 0.223 275.2);
Tailwind
colors: {
  custom: {
    50: '#8262d2',
    500: '#3421bd',
    950: '#000000',
  },
}
SCSS
$custom: #3421bd;
$custom-light: #8262d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3421bd",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 247.308,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.22306,
    "h": 275.2
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#3421BD
secondary
#C1CD6D
accent
#ED3BD7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3421BD

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

Preview Lab → · Contrast checker → · Palette generator →

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