#3352B8#3352B8

#3352B8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.165 H 267.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3352B8
RGBrgb(51, 82, 184)
HSLhsl(226, 57%, 46%)
HSVhsv(226, 72%, 72%)
CMYKcmyk(72.3%, 55.4%, 0%, 27.8%)
CIE-LABlab(38.19, 24.22, -57.30)
CIE-LCHlch(38.19, 62.21, 292.92°)
OKLaboklab(47.62% -0.0085 -0.1651)
OKLCHoklch(47.62% 0.165 267.1)
XYZxyz(13.0313, 10.1977, 46.6197)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3352B8 #B89933
analogous
#3394B8 #3352B8 #5633B8
triadic
#3352B8 #B83352 #52B833
tetradic
#3352B8 #B83394 #B89933 #33B856
square
#3352B8 #B83394 #B89933 #33B856
split-complementary
#3352B8 #B85633 #94B833
monochromatic
#182758 #263D88 #3352B8 #5874D1 #889CDE

Accessibility & contrast

On white

6.91
#3352B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3352B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3352B8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3352B8#FFFFFF#000000##FFFFFF
##3352B81.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3352b8;
/* rgb */ color: rgb(51, 82, 184);
/* oklch */ color: oklch(47.6% 0.165 267.1);
Tailwind
colors: {
  custom: {
    50: '#7c82ce',
    500: '#3352b8',
    950: '#000000',
  },
}
SCSS
$custom: #3352b8;
$custom-light: #7c82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3352b8",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 226.015,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47616,
    "c": 0.16529,
    "h": 267.1
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#3352B8
secondary
#C8B77F
accent
#BC48E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3352B8

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

Preview Lab → · Contrast checker → · Palette generator →

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