#336C8B#336C8B

#336C8B is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 50.7% C 0.077 H 234.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#336C8B
RGBrgb(51, 108, 139)
HSLhsl(201, 46%, 37%)
HSVhsv(201, 63%, 55%)
CMYKcmyk(63.3%, 22.3%, 0%, 45.5%)
CIE-LABlab(43.20, -8.69, -22.62)
CIE-LCHlch(43.20, 24.23, 248.99°)
OKLaboklab(50.65% -0.0444 -0.0633)
OKLCHoklch(50.65% 0.077 234.9)
XYZxyz(11.3862, 13.2919, 26.3866)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C8B #8B5233
analogous
#338B7E #336C8B #33408B
triadic
#336C8B #8B336C #6C8B33
tetradic
#336C8B #7E338B #8B5233 #408B33
square
#336C8B #7E338B #8B5233 #408B33
split-complementary
#336C8B #8B3340 #8B7E33
monochromatic
#122631 #23495E #336C8B #438FB8 #6EAACA

Accessibility & contrast

On white

5.74
#336C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#336C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C8B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C8B#FFFFFF#000000##FFFFFF
##336C8B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8C
Deuteranopia (green-blind)
#51628B
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #336c8b;
/* rgb */ color: rgb(51, 108, 139);
/* oklch */ color: oklch(50.7% 0.077 234.9);
Tailwind
colors: {
  custom: {
    50: '#7496ad',
    500: '#336c8b',
    950: '#000000',
  },
}
SCSS
$custom: #336c8b;
$custom-light: #7496ad;
$custom-dark: #000000;
JSON
{
  "hex": "#336c8b",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 139
  },
  "hsl": {
    "h": 201.136,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.07737,
    "h": 234.9
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#336C8B
secondary
#B28268
accent
#8052D6
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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