#336C8A#336C8A

#336C8A is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 50.6% C 0.076 H 234.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#336C8A
RGBrgb(51, 108, 138)
HSLhsl(201, 46%, 37%)
HSVhsv(201, 63%, 54%)
CMYKcmyk(63%, 21.7%, 0%, 45.9%)
CIE-LABlab(43.16, -9.03, -22.09)
CIE-LCHlch(43.16, 23.87, 247.77°)
OKLaboklab(50.61% -0.0448 -0.0618)
OKLCHoklch(50.61% 0.076 234.1)
XYZxyz(11.3135, 13.2628, 26.0036)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C8A #8A5133
analogous
#338A7D #336C8A #33408A
triadic
#336C8A #8A336C #6C8A33
tetradic
#336C8A #7D338A #8A5133 #408A33
square
#336C8A #7D338A #8A5133 #408A33
split-complementary
#336C8A #8A3340 #8A7D33
monochromatic
#122631 #22495D #336C8A #448FB7 #6EAAC9

Accessibility & contrast

On white

5.75
#336C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#336C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C8A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C8A#FFFFFF#000000##FFFFFF
##336C8A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8B
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #336c8a;
/* rgb */ color: rgb(51, 108, 138);
/* oklch */ color: oklch(50.6% 0.076 234.1);
Tailwind
colors: {
  custom: {
    50: '#7496ac',
    500: '#336c8a',
    950: '#000000',
  },
}
SCSS
$custom: #336c8a;
$custom-light: #7496ac;
$custom-dark: #000000;
JSON
{
  "hex": "#336c8a",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 200.69,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.07634,
    "h": 234.1
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

primary
#336C8A
secondary
#B18167
accent
#7F52D6
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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