#336C84#336C84

#336C84 is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.3% C 0.071 H 228.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#336C84
RGBrgb(51, 108, 132)
HSLhsl(198, 44%, 36%)
HSVhsv(198, 61%, 52%)
CMYKcmyk(61.4%, 18.2%, 0%, 48.2%)
CIE-LABlab(42.90, -11.04, -18.88)
CIE-LCHlch(42.90, 21.87, 239.68°)
OKLaboklab(50.32% -0.0471 -0.0526)
OKLCHoklch(50.32% 0.071 228.2)
XYZxyz(10.8910, 13.0938, 23.7787)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C84 #844B33
analogous
#338473 #336C84 #334384
triadic
#336C84 #84336C #6C8433
tetradic
#336C84 #733384 #844B33 #438433
square
#336C84 #733384 #844B33 #438433
split-complementary
#336C84 #843343 #847333
monochromatic
#11242C #224858 #336C84 #4490B0 #6BABC6

Accessibility & contrast

On white

5.80
#336C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#336C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C84
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C84#FFFFFF#000000##FFFFFF
##336C841.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6A85
Deuteranopia (green-blind)
#546284
Tritanopia (blue-blind)
#007374
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336c84;
/* rgb */ color: rgb(51, 108, 132);
/* oklch */ color: oklch(50.3% 0.071 228.2);
Tailwind
colors: {
  custom: {
    50: '#7396a7',
    500: '#336c84',
    950: '#000000',
  },
}
SCSS
$custom: #336c84;
$custom-light: #7396a7;
$custom-dark: #000000;
JSON
{
  "hex": "#336c84",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 132
  },
  "hsl": {
    "h": 197.778,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.07066,
    "h": 228.2
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#336C84
secondary
#AE7B65
accent
#7A54D4
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #336C84

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

Preview Lab → · Contrast checker → · Palette generator →

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