#3352B2#3352B2

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

Color values

HEX#3352B2
RGBrgb(51, 82, 178)
HSLhsl(225, 55%, 45%)
HSVhsv(225, 71%, 70%)
CMYKcmyk(71.3%, 53.9%, 0%, 30.2%)
CIE-LABlab(37.76, 21.99, -54.48)
CIE-LCHlch(37.76, 58.75, 291.98°)
OKLaboklab(47.15% -0.0089 -0.1568)
OKLCHoklch(47.15% 0.157 266.8)
XYZxyz(12.4156, 9.9515, 43.3774)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3352B2 #B29333
analogous
#3392B2 #3352B2 #5333B2
triadic
#3352B2 #B23352 #52B233
tetradic
#3352B2 #B23392 #B29333 #33B253
square
#3352B2 #B23392 #B29333 #33B253
split-complementary
#3352B2 #B25333 #92B233
monochromatic
#182653 #253C82 #3352B2 #5472CE #8499DC

Accessibility & contrast

On white

7.02
#3352B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3352B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3352B2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3352B2#FFFFFF#000000##FFFFFF
##3352B21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095FB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3352b2;
/* rgb */ color: rgb(51, 82, 178);
/* oklch */ color: oklch(47.1% 0.157 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b82ca',
    500: '#3352b2',
    950: '#000000',
  },
}
SCSS
$custom: #3352b2;
$custom-light: #7b82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3352b2",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 225.354,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47146,
    "c": 0.15702,
    "h": 266.8
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#3352B2
secondary
#C5B37C
accent
#BA49DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3352B2

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

Preview Lab → · Contrast checker → · Palette generator →

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