#3352BA#3352BA

#3352BA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.168 H 267.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3352BA
RGBrgb(51, 82, 186)
HSLhsl(226, 57%, 46%)
HSVhsv(226, 73%, 73%)
CMYKcmyk(72.6%, 55.9%, 0%, 27.1%)
CIE-LABlab(38.34, 24.96, -58.23)
CIE-LCHlch(38.34, 63.36, 293.20°)
OKLaboklab(47.78% -0.0083 -0.1678)
OKLCHoklch(47.78% 0.168 267.2)
XYZxyz(13.2424, 10.2822, 47.7316)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3352BA #BA9B33
analogous
#3396BA #3352BA #5833BA
triadic
#3352BA #BA3352 #52BA33
tetradic
#3352BA #BA3396 #BA9B33 #33BA58
square
#3352BA #BA3396 #BA9B33 #33BA58
split-complementary
#3352BA #BA5833 #96BA33
monochromatic
#19285A #263D8A #3352BA #5974D1 #899DDF

Accessibility & contrast

On white

6.87
#3352BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3352BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3352BA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3352BA#FFFFFF#000000##FFFFFF
##3352BA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3352ba;
/* rgb */ color: rgb(51, 82, 186);
/* oklch */ color: oklch(47.8% 0.168 267.2);
Tailwind
colors: {
  custom: {
    50: '#7d82cf',
    500: '#3352ba',
    950: '#000000',
  },
}
SCSS
$custom: #3352ba;
$custom-light: #7d82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3352ba",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 226.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.16802,
    "h": 267.2
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#3352BA
secondary
#C9B880
accent
#BD48E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3352BA

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

Preview Lab → · Contrast checker → · Palette generator →

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