#336D9C#336D9C

#336D9C is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.8% C 0.096 H 245.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#336D9C
RGBrgb(51, 109, 156)
HSLhsl(207, 51%, 41%)
HSVhsv(207, 67%, 61%)
CMYKcmyk(67.3%, 30.1%, 0%, 38.8%)
CIE-LABlab(44.29, -3.37, -31.04)
CIE-LCHlch(44.29, 31.22, 263.81°)
OKLaboklab(51.78% -0.0397 -0.0876)
OKLCHoklch(51.78% 0.096 245.7)
XYZxyz(12.8324, 14.0401, 33.4798)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D9C #9C6233
analogous
#339C96 #336D9C #33389C
triadic
#336D9C #9C336D #6D9C33
tetradic
#336D9C #96339C #9C6233 #389C33
square
#336D9C #96339C #9C6233 #389C33
split-complementary
#336D9C #9C3338 #9C9633
monochromatic
#152D40 #244D6E #336D9C #498DC3 #77A9D3

Accessibility & contrast

On white

5.51
#336D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#336D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D9C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D9C#FFFFFF#000000##FFFFFF
##336D9C1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586E9E
Deuteranopia (green-blind)
#4A649B
Tritanopia (blue-blind)
#00787E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336d9c;
/* rgb */ color: rgb(51, 109, 156);
/* oklch */ color: oklch(51.8% 0.096 245.7);
Tailwind
colors: {
  custom: {
    50: '#7696b9',
    500: '#336d9c',
    950: '#000000',
  },
}
SCSS
$custom: #336d9c;
$custom-light: #7696b9;
$custom-dark: #000000;
JSON
{
  "hex": "#336d9c",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 156
  },
  "hsl": {
    "h": 206.857,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.0962,
    "h": 245.7
  },
  "luminance": 0.14041
}

Semantic roles & 50–950 ramp

primary
#336D9C
secondary
#BB9170
accent
#8D4EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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