#3357A2#3357A2

#3357A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.128 H 263.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3357A2
RGBrgb(51, 87, 162)
HSLhsl(221, 52%, 42%)
HSVhsv(221, 69%, 64%)
CMYKcmyk(68.5%, 46.3%, 0%, 36.5%)
CIE-LABlab(38.07, 12.74, -44.47)
CIE-LCHlch(38.07, 46.26, 285.99°)
OKLaboklab(47.04% -0.0154 -0.1272)
OKLCHoklch(47.04% 0.128 263.1)
XYZxyz(11.2927, 10.1277, 35.5351)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3357A2 #A27E33
analogous
#338FA2 #3357A2 #4733A2
triadic
#3357A2 #A23357 #57A233
tetradic
#3357A2 #A2338F #A27E33 #33A247
square
#3357A2 #A2338F #A27E33 #33A247
split-complementary
#3357A2 #A24733 #8FA233
monochromatic
#162545 #243E73 #3357A2 #4C74C7 #7A98D5

Accessibility & contrast

On white

6.94
#3357A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3357A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3357A2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3357A2#FFFFFF#000000##FFFFFF
##3357A21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#1C55A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3357a2;
/* rgb */ color: rgb(51, 87, 162);
/* oklch */ color: oklch(47.0% 0.128 263.1);
Tailwind
colors: {
  custom: {
    50: '#7785be',
    500: '#3357a2',
    950: '#000000',
  },
}
SCSS
$custom: #3357a2;
$custom-light: #7785be;
$custom-dark: #000000;
JSON
{
  "hex": "#3357a2",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 220.541,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47039,
    "c": 0.12817,
    "h": 263.1
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#3357A2
secondary
#BEA673
accent
#AD4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3357A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3357A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva