#336D8D#336D8D

#336D8D is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.0% C 0.079 H 235.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#336D8D
RGBrgb(51, 109, 141)
HSLhsl(201, 47%, 38%)
HSVhsv(201, 64%, 55%)
CMYKcmyk(63.8%, 22.7%, 0%, 44.7%)
CIE-LABlab(43.60, -8.60, -23.20)
CIE-LCHlch(43.60, 24.74, 249.67°)
OKLaboklab(51% -0.0448 -0.065)
OKLCHoklch(51% 0.079 235.4)
XYZxyz(11.6398, 13.5630, 27.1986)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D8D #8D5333
analogous
#338D80 #336D8D #33408D
triadic
#336D8D #8D336D #6D8D33
tetradic
#336D8D #80338D #8D5333 #408D33
square
#336D8D #80338D #8D5333 #408D33
split-complementary
#336D8D #8D3340 #8D8033
monochromatic
#122833 #234A60 #336D8D #4390BA #6FAACB

Accessibility & contrast

On white

5.66
#336D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#336D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D8D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D8D#FFFFFF#000000##FFFFFF
##336D8D1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8F
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#007578
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336d8d;
/* rgb */ color: rgb(51, 109, 141);
/* oklch */ color: oklch(51.0% 0.079 235.4);
Tailwind
colors: {
  custom: {
    50: '#7496ae',
    500: '#336d8d',
    950: '#000000',
  },
}
SCSS
$custom: #336d8d;
$custom-light: #7496ae;
$custom-dark: #000000;
JSON
{
  "hex": "#336d8d",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 141
  },
  "hsl": {
    "h": 201.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.07895,
    "h": 235.4
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#336D8D
secondary
#B38369
accent
#8151D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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