#336786#336786

#336786 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.2% C 0.075 H 237.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#336786
RGBrgb(51, 103, 134)
HSLhsl(202, 45%, 36%)
HSVhsv(202, 62%, 53%)
CMYKcmyk(61.9%, 23.1%, 0%, 47.5%)
CIE-LABlab(41.41, -7.43, -22.39)
CIE-LCHlch(41.41, 23.59, 251.64°)
OKLaboklab(49.17% -0.0405 -0.0627)
OKLCHoklch(49.17% 0.075 237.1)
XYZxyz(10.5169, 12.1245, 24.3357)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336786 #865233
analogous
#33867C #336786 #333E86
triadic
#336786 #863367 #678633
tetradic
#336786 #7C3386 #865233 #3E8633
square
#336786 #7C3386 #865233 #3E8633
split-complementary
#336786 #86333E #867C33
monochromatic
#11232D #22455A #336786 #4489B2 #6CA5C7

Accessibility & contrast

On white

6.13
#336786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#336786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336786
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336786#FFFFFF#000000##FFFFFF
##3367861.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596687
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336786;
/* rgb */ color: rgb(51, 103, 134);
/* oklch */ color: oklch(49.2% 0.075 237.1);
Tailwind
colors: {
  custom: {
    50: '#7392a9',
    500: '#336786',
    950: '#000000',
  },
}
SCSS
$custom: #336786;
$custom-light: #7392a9;
$custom-dark: #000000;
JSON
{
  "hex": "#336786",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 202.41,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.07463,
    "h": 237.1
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#336786
secondary
#AF8166
accent
#8453D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #336786

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

Preview Lab → · Contrast checker → · Palette generator →

#336786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva