#3356C5#3356C5

#3356C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.178 H 266.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3356C5
RGBrgb(51, 86, 197)
HSLhsl(226, 59%, 49%)
HSVhsv(226, 74%, 77%)
CMYKcmyk(74.1%, 56.3%, 0%, 22.7%)
CIE-LABlab(40.23, 26.44, -61.59)
CIE-LCHlch(40.23, 67.03, 293.23°)
OKLaboklab(49.45% -0.0108 -0.1776)
OKLCHoklch(49.45% 0.178 266.5)
XYZxyz(14.7675, 11.3890, 54.2325)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3356C5 #C5A233
analogous
#339FC5 #3356C5 #5933C5
triadic
#3356C5 #C53356 #56C533
tetradic
#3356C5 #C5339F #C5A233 #33C559
square
#3356C5 #C5339F #C5A233 #33C559
split-complementary
#3356C5 #C55933 #9FC533
monochromatic
#1A2C64 #264194 #3356C5 #5F7CD6 #90A4E2

Accessibility & contrast

On white

6.41
#3356C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3356C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3356C5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3356C5#FFFFFF#000000##FFFFFF
##3356C51.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3356c5;
/* rgb */ color: rgb(51, 86, 197);
/* oklch */ color: oklch(49.5% 0.178 266.5);
Tailwind
colors: {
  custom: {
    50: '#7f85d7',
    500: '#3356c5',
    950: '#000000',
  },
}
SCSS
$custom: #3356c5;
$custom-light: #7f85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3356c5",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 197
  },
  "hsl": {
    "h": 225.616,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.17795,
    "h": 266.5
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#3356C5
secondary
#CDBC87
accent
#BD46E2
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3356C5

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

Preview Lab → · Contrast checker → · Palette generator →

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