#336A79#336A79

#336A79 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.3% C 0.063 H 218.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#336A79
RGBrgb(51, 106, 121)
HSLhsl(193, 41%, 34%)
HSVhsv(193, 58%, 47%)
CMYKcmyk(57.9%, 12.4%, 0%, 52.5%)
CIE-LABlab(41.83, -13.47, -13.89)
CIE-LCHlch(41.83, 19.35, 225.87°)
OKLaboklab(49.32% -0.0493 -0.0385)
OKLCHoklch(49.32% 0.063 218)
XYZxyz(9.9691, 12.3914, 19.9519)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A79 #794233
analogous
#337965 #336A79 #334779
triadic
#336A79 #79336A #6A7933
tetradic
#336A79 #653379 #794233 #477933
square
#336A79 #653379 #794233 #477933
split-complementary
#336A79 #793347 #796533
monochromatic
#0F1F23 #21444E #336A79 #4590A4 #67ACBF

Accessibility & contrast

On white

6.04
#336A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#336A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A79
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A79#FFFFFF#000000##FFFFFF
##336A791.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60677A
Deuteranopia (green-blind)
#565F79
Tritanopia (blue-blind)
#006F6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336a79;
/* rgb */ color: rgb(51, 106, 121);
/* oklch */ color: oklch(49.3% 0.063 218.0);
Tailwind
colors: {
  custom: {
    50: '#71949f',
    500: '#336a79',
    950: '#000000',
  },
}
SCSS
$custom: #336a79;
$custom-light: #71949f;
$custom-dark: #000000;
JSON
{
  "hex": "#336a79",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 121
  },
  "hsl": {
    "h": 192.857,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.49321,
    "c": 0.06254,
    "h": 218
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#336A79
secondary
#A77061
accent
#7157D1
background
#F7F9F9
surface
#EDF1F2
border
#C8CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #336A79

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

Preview Lab → · Contrast checker → · Palette generator →

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