#3352A2#3352A2

#3352A2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.134 H 265.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3352A2
RGBrgb(51, 82, 162)
HSLhsl(223, 52%, 42%)
HSVhsv(223, 69%, 64%)
CMYKcmyk(68.5%, 49.4%, 0%, 36.5%)
CIE-LABlab(36.64, 16.03, -46.77)
CIE-LCHlch(36.64, 49.44, 288.92°)
OKLaboklab(45.95% -0.0106 -0.1341)
OKLCHoklch(45.95% 0.134 265.5)
XYZxyz(10.9018, 9.3460, 35.4048)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3352A2 #A28333
analogous
#338AA2 #3352A2 #4B33A2
triadic
#3352A2 #A23352 #52A233
tetradic
#3352A2 #A2338A #A28333 #33A24B
square
#3352A2 #A2338A #A28333 #33A24B
split-complementary
#3352A2 #A24B33 #8AA233
monochromatic
#162345 #243A73 #3352A2 #4C6EC7 #7A94D5

Accessibility & contrast

On white

7.32
#3352A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3352A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3352A2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3352A2#FFFFFF#000000##FFFFFF
##3352A21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#0851A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3352a2;
/* rgb */ color: rgb(51, 82, 162);
/* oklch */ color: oklch(45.9% 0.134 265.5);
Tailwind
colors: {
  custom: {
    50: '#7882be',
    500: '#3352a2',
    950: '#000000',
  },
}
SCSS
$custom: #3352a2;
$custom-light: #7882be;
$custom-dark: #000000;
JSON
{
  "hex": "#3352a2",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 223.243,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45946,
    "c": 0.13449,
    "h": 265.5
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#3352A2
secondary
#BEA973
accent
#B44CDC
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3352A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3352A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva