#3352B3#3352B3

#3352B3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.158 H 266.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3352B3
RGBrgb(51, 82, 179)
HSLhsl(225, 56%, 45%)
HSVhsv(225, 72%, 70%)
CMYKcmyk(71.5%, 54.2%, 0%, 29.8%)
CIE-LABlab(37.83, 22.36, -54.95)
CIE-LCHlch(37.83, 59.33, 292.14°)
OKLaboklab(47.22% -0.0088 -0.1582)
OKLCHoklch(47.22% 0.158 266.8)
XYZxyz(12.5164, 9.9918, 43.9081)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3352B3 #B39433
analogous
#3392B3 #3352B3 #5433B3
triadic
#3352B3 #B33352 #52B333
tetradic
#3352B3 #B33392 #B39433 #33B354
square
#3352B3 #B33392 #B39433 #33B354
split-complementary
#3352B3 #B35433 #92B333
monochromatic
#182654 #253C83 #3352B3 #5572CE #849ADC

Accessibility & contrast

On white

7.00
#3352B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3352B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3352B3
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3352B3#FFFFFF#000000##FFFFFF
##3352B31.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055FB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3352b3;
/* rgb */ color: rgb(51, 82, 179);
/* oklch */ color: oklch(47.2% 0.158 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b82ca',
    500: '#3352b3',
    950: '#000000',
  },
}
SCSS
$custom: #3352b3;
$custom-light: #7b82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3352b3",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 225.469,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.15841,
    "h": 266.8
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#3352B3
secondary
#C6B47C
accent
#BB49DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3352B3

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

Preview Lab → · Contrast checker → · Palette generator →

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