#3356A2#3356A2

#3356A2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.129 H 263.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3356A2
RGBrgb(51, 86, 162)
HSLhsl(221, 52%, 42%)
HSVhsv(221, 69%, 64%)
CMYKcmyk(68.5%, 46.9%, 0%, 36.5%)
CIE-LABlab(37.78, 13.40, -44.93)
CIE-LCHlch(37.78, 46.89, 286.60°)
OKLaboklab(46.82% -0.0144 -0.1286)
OKLCHoklch(46.82% 0.129 263.6)
XYZxyz(11.2123, 9.9669, 35.5083)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3356A2 #A27F33
analogous
#338EA2 #3356A2 #4833A2
triadic
#3356A2 #A23356 #56A233
tetradic
#3356A2 #A2338E #A27F33 #33A248
square
#3356A2 #A2338E #A27F33 #33A248
split-complementary
#3356A2 #A24833 #8EA233
monochromatic
#162545 #243D73 #3356A2 #4C72C7 #7A97D5

Accessibility & contrast

On white

7.01
#3356A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3356A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3356A2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3356A2#FFFFFF#000000##FFFFFF
##3356A21.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#1954A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3356a2;
/* rgb */ color: rgb(51, 86, 162);
/* oklch */ color: oklch(46.8% 0.129 263.6);
Tailwind
colors: {
  custom: {
    50: '#7785be',
    500: '#3356a2',
    950: '#000000',
  },
}
SCSS
$custom: #3356a2;
$custom-light: #7785be;
$custom-dark: #000000;
JSON
{
  "hex": "#3356a2",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 221.081,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46819,
    "c": 0.12943,
    "h": 263.6
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3356A2

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

Preview Lab → · Contrast checker → · Palette generator →

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