#336C9D#336C9D

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

Color values

HEX#336C9D
RGBrgb(51, 108, 157)
HSLhsl(208, 51%, 41%)
HSVhsv(208, 68%, 62%)
CMYKcmyk(67.5%, 31.2%, 0%, 38.4%)
CIE-LABlab(44.03, -2.41, -32.04)
CIE-LCHlch(44.03, 32.13, 265.71°)
OKLaboklab(51.59% -0.0383 -0.0905)
OKLCHoklch(51.59% 0.098 247.1)
XYZxyz(12.8113, 13.8619, 33.8922)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C9D #9D6433
analogous
#339D99 #336C9D #33379D
triadic
#336C9D #9D336C #6C9D33
tetradic
#336C9D #99339D #9D6433 #379D33
square
#336C9D #99339D #9D6433 #379D33
split-complementary
#336C9D #9D3337 #9D9933
monochromatic
#152C41 #244C6F #336C9D #498BC4 #77A9D3

Accessibility & contrast

On white

5.57
#336C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#336C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C9D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C9D#FFFFFF#000000##FFFFFF
##336C9D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566E9F
Deuteranopia (green-blind)
#48649C
Tritanopia (blue-blind)
#00787D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336c9d;
/* rgb */ color: rgb(51, 108, 157);
/* oklch */ color: oklch(51.6% 0.098 247.1);
Tailwind
colors: {
  custom: {
    50: '#7695ba',
    500: '#336c9d',
    950: '#000000',
  },
}
SCSS
$custom: #336c9d;
$custom-light: #7695ba;
$custom-dark: #000000;
JSON
{
  "hex": "#336c9d",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 157
  },
  "hsl": {
    "h": 207.736,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.0983,
    "h": 247.1
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#336C9D
secondary
#BB9370
accent
#8F4DDA
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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