#336579#336579

#336579 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.0% C 0.063 H 226.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#336579
RGBrgb(51, 101, 121)
HSLhsl(197, 41%, 34%)
HSVhsv(197, 58%, 47%)
CMYKcmyk(57.9%, 16.5%, 0%, 52.5%)
CIE-LABlab(40.23, -10.59, -16.33)
CIE-LCHlch(40.23, 19.46, 237.04°)
OKLaboklab(48.04% -0.0432 -0.0454)
OKLCHoklch(48.04% 0.063 226.4)
XYZxyz(9.4688, 11.3908, 19.7851)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336579 #794733
analogous
#33796A #336579 #334279
triadic
#336579 #793365 #657933
tetradic
#336579 #6A3379 #794733 #427933
square
#336579 #6A3379 #794733 #427933
split-complementary
#336579 #793342 #796A33
monochromatic
#0F1D23 #21414E #336579 #4589A4 #67A6BF

Accessibility & contrast

On white

6.41
#336579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#336579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336579
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336579#FFFFFF#000000##FFFFFF
##3365791.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637A
Deuteranopia (green-blind)
#505C79
Tritanopia (blue-blind)
#006B6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336579;
/* rgb */ color: rgb(51, 101, 121);
/* oklch */ color: oklch(48.0% 0.063 226.4);
Tailwind
colors: {
  custom: {
    50: '#71919f',
    500: '#336579',
    950: '#000000',
  },
}
SCSS
$custom: #336579;
$custom-light: #71919f;
$custom-dark: #000000;
JSON
{
  "hex": "#336579",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 121
  },
  "hsl": {
    "h": 197.143,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.06266,
    "h": 226.4
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#336579
secondary
#A77561
accent
#7A57D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #336579

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

Preview Lab → · Contrast checker → · Palette generator →

#336579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva