#3356AB#3356AB

#3356AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.142 H 264.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3356AB
RGBrgb(51, 86, 171)
HSLhsl(223, 54%, 44%)
HSVhsv(223, 70%, 67%)
CMYKcmyk(70.2%, 49.7%, 0%, 32.9%)
CIE-LABlab(38.37, 16.75, -49.34)
CIE-LCHlch(38.37, 52.11, 288.75°)
OKLaboklab(47.46% -0.0131 -0.1416)
OKLCHoklch(47.46% 0.142 264.7)
XYZxyz(12.0411, 10.2984, 39.8734)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3356AB #AB8833
analogous
#3392AB #3356AB #4C33AB
triadic
#3356AB #AB3356 #56AB33
tetradic
#3356AB #AB3392 #AB8833 #33AB4C
square
#3356AB #AB3392 #AB8833 #33AB4C
split-complementary
#3356AB #AB4C33 #92AB33
monochromatic
#17274D #253E7C #3356AB #5074CB #7F9AD9

Accessibility & contrast

On white

6.86
#3356AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3356AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3356AB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3356AB#FFFFFF#000000##FFFFFF
##3356AB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3356ab;
/* rgb */ color: rgb(51, 86, 171);
/* oklch */ color: oklch(47.5% 0.142 264.7);
Tailwind
colors: {
  custom: {
    50: '#7985c5',
    500: '#3356ab',
    950: '#000000',
  },
}
SCSS
$custom: #3356ab;
$custom-light: #7985c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3356ab",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 222.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.14219,
    "h": 264.7
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#3356AB
secondary
#C2AC78
accent
#B34ADD
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3356AB

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

Preview Lab → · Contrast checker → · Palette generator →

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