#3352B5#3352B5

#3352B5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.161 H 266.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3352B5
RGBrgb(51, 82, 181)
HSLhsl(226, 56%, 45%)
HSVhsv(226, 72%, 71%)
CMYKcmyk(71.8%, 54.7%, 0%, 29%)
CIE-LABlab(37.97, 23.11, -55.90)
CIE-LCHlch(37.97, 60.48, 292.46°)
OKLaboklab(47.38% -0.0087 -0.1609)
OKLCHoklch(47.38% 0.161 266.9)
XYZxyz(12.7201, 10.0733, 44.9811)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3352B5 #B59633
analogous
#3393B5 #3352B5 #5533B5
triadic
#3352B5 #B53352 #52B533
tetradic
#3352B5 #B53393 #B59633 #33B555
square
#3352B5 #B53393 #B59633 #33B555
split-complementary
#3352B5 #B55533 #93B533
monochromatic
#182756 #263C85 #3352B5 #5673CF #869ADD

Accessibility & contrast

On white

6.97
#3352B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3352B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3352B5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3352B5#FFFFFF#000000##FFFFFF
##3352B51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B8
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3352b5;
/* rgb */ color: rgb(51, 82, 181);
/* oklch */ color: oklch(47.4% 0.161 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c82cc',
    500: '#3352b5',
    950: '#000000',
  },
}
SCSS
$custom: #3352b5;
$custom-light: #7c82cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3352b5",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 225.692,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4738,
    "c": 0.16116,
    "h": 266.9
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#3352B5
secondary
#C6B57D
accent
#BB48DF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3352B5

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

Preview Lab → · Contrast checker → · Palette generator →

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