#336D8F#336D8F

#336D8F is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.1% C 0.081 H 237.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#336D8F
RGBrgb(51, 109, 143)
HSLhsl(202, 47%, 38%)
HSVhsv(202, 64%, 56%)
CMYKcmyk(64.3%, 23.8%, 0%, 43.9%)
CIE-LABlab(43.69, -7.91, -24.26)
CIE-LCHlch(43.69, 25.52, 251.93°)
OKLaboklab(51.1% -0.0441 -0.068)
OKLCHoklch(51.1% 0.081 237)
XYZxyz(11.7899, 13.6231, 27.9895)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D8F #8F5533
analogous
#338F83 #336D8F #333F8F
triadic
#336D8F #8F336D #6D8F33
tetradic
#336D8F #83338F #8F5533 #3F8F33
square
#336D8F #83338F #8F5533 #3F8F33
split-complementary
#336D8F #8F333F #8F8333
monochromatic
#132835 #234B62 #336D8F #438FBC #70AACC

Accessibility & contrast

On white

5.64
#336D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#336D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D8F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D8F#FFFFFF#000000##FFFFFF
##336D8F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C91
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336d8f;
/* rgb */ color: rgb(51, 109, 143);
/* oklch */ color: oklch(51.1% 0.081 237.0);
Tailwind
colors: {
  custom: {
    50: '#7496b0',
    500: '#336d8f',
    950: '#000000',
  },
}
SCSS
$custom: #336d8f;
$custom-light: #7496b0;
$custom-dark: #000000;
JSON
{
  "hex": "#336d8f",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 143
  },
  "hsl": {
    "h": 202.174,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.08107,
    "h": 237
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#336D8F
secondary
#B4856A
accent
#8251D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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