#336C9E#336C9E

#336C9E is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.6% C 0.100 H 247.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#336C9E
RGBrgb(51, 108, 158)
HSLhsl(208, 51%, 41%)
HSVhsv(208, 68%, 62%)
CMYKcmyk(67.7%, 31.6%, 0%, 38%)
CIE-LABlab(44.08, -2.05, -32.55)
CIE-LCHlch(44.08, 32.61, 266.40°)
OKLaboklab(51.65% -0.038 -0.092)
OKLCHoklch(51.65% 0.1 247.6)
XYZxyz(12.8970, 13.8962, 34.3437)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C9E #9E6533
analogous
#339E9A #336C9E #33379E
triadic
#336C9E #9E336C #6C9E33
tetradic
#336C9E #9A339E #9E6533 #379E33
square
#336C9E #9A339E #9E6533 #379E33
split-complementary
#336C9E #9E3337 #9E9A33
monochromatic
#152D41 #244C70 #336C9E #4A8BC4 #78A9D3

Accessibility & contrast

On white

5.56
#336C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#336C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C9E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C9E#FFFFFF#000000##FFFFFF
##336C9E1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566EA0
Deuteranopia (green-blind)
#47649D
Tritanopia (blue-blind)
#00787E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336c9e;
/* rgb */ color: rgb(51, 108, 158);
/* oklch */ color: oklch(51.6% 0.100 247.6);
Tailwind
colors: {
  custom: {
    50: '#7795bb',
    500: '#336c9e',
    950: '#000000',
  },
}
SCSS
$custom: #336c9e;
$custom-light: #7795bb;
$custom-dark: #000000;
JSON
{
  "hex": "#336c9e",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 158
  },
  "hsl": {
    "h": 208.037,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.09956,
    "h": 247.6
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#336C9E
secondary
#BC9471
accent
#8F4DDB
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #336C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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