#336C8D#336C8D

#336C8D is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 50.8% C 0.079 H 236.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#336C8D
RGBrgb(51, 108, 141)
HSLhsl(202, 47%, 38%)
HSVhsv(202, 64%, 55%)
CMYKcmyk(63.8%, 23.4%, 0%, 44.7%)
CIE-LABlab(43.29, -8.01, -23.68)
CIE-LCHlch(43.29, 25.00, 251.32°)
OKLaboklab(50.75% -0.0437 -0.0664)
OKLCHoklch(50.75% 0.079 236.6)
XYZxyz(11.5337, 13.3509, 27.1633)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C8D #8D5433
analogous
#338D81 #336C8D #333F8D
triadic
#336C8D #8D336C #6C8D33
tetradic
#336C8D #81338D #8D5433 #3F8D33
square
#336C8D #81338D #8D5433 #3F8D33
split-complementary
#336C8D #8D333F #8D8133
monochromatic
#122733 #234A60 #336C8D #438EBA #6FA9CB

Accessibility & contrast

On white

5.72
#336C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#336C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C8D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C8D#FFFFFF#000000##FFFFFF
##336C8D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8F
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #336c8d;
/* rgb */ color: rgb(51, 108, 141);
/* oklch */ color: oklch(50.8% 0.079 236.6);
Tailwind
colors: {
  custom: {
    50: '#7496ae',
    500: '#336c8d',
    950: '#000000',
  },
}
SCSS
$custom: #336c8d;
$custom-light: #7496ae;
$custom-dark: #000000;
JSON
{
  "hex": "#336c8d",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 141
  },
  "hsl": {
    "h": 202,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.07947,
    "h": 236.6
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#336C8D
secondary
#B38469
accent
#8251D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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