#336A80#336A80

#336A80 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.6% C 0.068 H 226.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#336A80
RGBrgb(51, 106, 128)
HSLhsl(197, 43%, 35%)
HSVhsv(197, 60%, 50%)
CMYKcmyk(60.2%, 17.2%, 0%, 49.8%)
CIE-LABlab(42.11, -11.21, -17.70)
CIE-LCHlch(42.11, 20.95, 237.66°)
OKLaboklab(49.63% -0.0464 -0.0493)
OKLCHoklch(49.63% 0.068 226.7)
XYZxyz(10.4140, 12.5694, 22.2952)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A80 #804933
analogous
#338070 #336A80 #334380
triadic
#336A80 #80336A #6A8033
tetradic
#336A80 #703380 #804933 #438033
square
#336A80 #703380 #804933 #438033
split-complementary
#336A80 #803343 #807033
monochromatic
#102228 #224654 #336A80 #448EAC #6AAAC4

Accessibility & contrast

On white

5.98
#336A80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#336A80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A80
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A80#FFFFFF#000000##FFFFFF
##336A801.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6881
Deuteranopia (green-blind)
#536080
Tritanopia (blue-blind)
#007071
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336a80;
/* rgb */ color: rgb(51, 106, 128);
/* oklch */ color: oklch(49.6% 0.068 226.7);
Tailwind
colors: {
  custom: {
    50: '#7294a5',
    500: '#336a80',
    950: '#000000',
  },
}
SCSS
$custom: #336a80;
$custom-light: #7294a5;
$custom-dark: #000000;
JSON
{
  "hex": "#336a80",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 128
  },
  "hsl": {
    "h": 197.143,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49633,
    "c": 0.06767,
    "h": 226.7
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#336A80
secondary
#AB7863
accent
#7955D3
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #336A80

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

Preview Lab → · Contrast checker → · Palette generator →

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