#336CB6#336CB6

#336CB6 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.131 H 256.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#336CB6
RGBrgb(51, 108, 182)
HSLhsl(214, 56%, 46%)
HSVhsv(214, 72%, 71%)
CMYKcmyk(72%, 40.7%, 0%, 28.6%)
CIE-LABlab(45.37, 6.70, -44.60)
CIE-LCHlch(45.37, 45.10, 278.54°)
OKLaboklab(53.07% -0.0316 -0.1273)
OKLCHoklch(53.07% 0.131 256.1)
XYZxyz(15.1682, 14.8047, 46.3051)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CB6 #B67D33
analogous
#33ADB6 #336CB6 #3B33B6
triadic
#336CB6 #B6336C #6CB633
tetradic
#336CB6 #B633AD #B67D33 #33B63B
square
#336CB6 #B633AD #B67D33 #33B63B
split-complementary
#336CB6 #B63B33 #ADB633
monochromatic
#183356 #265086 #336CB6 #568BD0 #86ACDD

Accessibility & contrast

On white

5.30
#336CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#336CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CB6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CB6#FFFFFF#000000##FFFFFF
##336CB61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972B9
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336cb6;
/* rgb */ color: rgb(51, 108, 182);
/* oklch */ color: oklch(53.1% 0.131 256.1);
Tailwind
colors: {
  custom: {
    50: '#7b95cc',
    500: '#336cb6',
    950: '#000000',
  },
}
SCSS
$custom: #336cb6;
$custom-light: #7b95cc;
$custom-dark: #000000;
JSON
{
  "hex": "#336cb6",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 182
  },
  "hsl": {
    "h": 213.893,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.13113,
    "h": 256.1
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#336CB6
secondary
#C7A77E
accent
#9E48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336CB6

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

Preview Lab → · Contrast checker → · Palette generator →

#336CB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva