#3356B2#3356B2

#3356B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.152 H 265.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3356B2
RGBrgb(51, 86, 178)
HSLhsl(223, 55%, 45%)
HSVhsv(223, 71%, 70%)
CMYKcmyk(71.3%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.85, 19.37, -52.71)
CIE-LCHlch(38.85, 56.15, 290.18°)
OKLaboklab(47.98% -0.0123 -0.1515)
OKLCHoklch(47.98% 0.152 265.4)
XYZxyz(12.7261, 10.5724, 43.4808)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3356B2 #B28F33
analogous
#3395B2 #3356B2 #5033B2
triadic
#3356B2 #B23356 #56B233
tetradic
#3356B2 #B23395 #B28F33 #33B250
square
#3356B2 #B23395 #B28F33 #33B250
split-complementary
#3356B2 #B25033 #95B233
monochromatic
#182853 #253F82 #3356B2 #5476CE #849CDC

Accessibility & contrast

On white

6.74
#3356B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3356B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3356B2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3356B2#FFFFFF#000000##FFFFFF
##3356B21.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3356b2;
/* rgb */ color: rgb(51, 86, 178);
/* oklch */ color: oklch(48.0% 0.152 265.4);
Tailwind
colors: {
  custom: {
    50: '#7b85ca',
    500: '#3356b2',
    950: '#000000',
  },
}
SCSS
$custom: #3356b2;
$custom-light: #7b85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3356b2",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 223.465,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.15199,
    "h": 265.4
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#3356B2
secondary
#C5B17C
accent
#B649DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3356B2

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

Preview Lab → · Contrast checker → · Palette generator →

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