#3421BB#3421BB

#3421BB is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.221 H 275.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3421BB
RGBrgb(52, 33, 187)
HSLhsl(247, 70%, 43%)
HSVhsv(247, 82%, 73%)
CMYKcmyk(72.2%, 82.4%, 0%, 26.7%)
CIE-LABlab(27.86, 54.08, -76.04)
CIE-LCHlch(27.86, 93.31, 305.42°)
OKLaboklab(40.23% 0.0209 -0.2198)
OKLCHoklch(40.23% 0.221 275.4)
XYZxyz(10.9267, 5.4046, 47.4714)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3421BB #A8BB21
analogous
#215BBB #3421BB #8121BB
triadic
#3421BB #BB3421 #21BB34
tetradic
#3421BB #BB215B #A8BB21 #21BB81
square
#3421BB #BB215B #A8BB21 #21BB81
split-complementary
#3421BB #BB8121 #5BBB21
monochromatic
#170F53 #261887 #3421BB #503DDD #7F71E6

Accessibility & contrast

On white

10.09
#3421BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3421BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3421BB
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3421BB#FFFFFF#000000##FFFFFF
##3421BB1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3421bb;
/* rgb */ color: rgb(52, 33, 187);
/* oklch */ color: oklch(40.2% 0.221 275.4);
Tailwind
colors: {
  custom: {
    50: '#8162d1',
    500: '#3421bb',
    950: '#000000',
  },
}
SCSS
$custom: #3421bb;
$custom-light: #8162d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3421bb",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 187
  },
  "hsl": {
    "h": 247.403,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.22081,
    "h": 275.4
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3421BB

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

Preview Lab → · Contrast checker → · Palette generator →

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