#336979#336979

#336979 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.1% C 0.062 H 219.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#336979
RGBrgb(51, 105, 121)
HSLhsl(194, 41%, 34%)
HSVhsv(194, 58%, 47%)
CMYKcmyk(57.9%, 13.2%, 0%, 52.5%)
CIE-LABlab(41.51, -12.90, -14.38)
CIE-LCHlch(41.51, 19.32, 228.09°)
OKLaboklab(49.07% -0.0481 -0.0399)
OKLCHoklch(49.07% 0.062 219.7)
XYZxyz(9.8667, 12.1865, 19.9177)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336979 #794333
analogous
#337966 #336979 #334679
triadic
#336979 #793369 #697933
tetradic
#336979 #663379 #794333 #467933
square
#336979 #663379 #794333 #467933
split-complementary
#336979 #793346 #796633
monochromatic
#0F1E23 #21444E #336979 #458EA4 #67ABBF

Accessibility & contrast

On white

6.11
#336979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#336979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336979
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336979#FFFFFF#000000##FFFFFF
##3369791.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F667A
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#006E6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336979;
/* rgb */ color: rgb(51, 105, 121);
/* oklch */ color: oklch(49.1% 0.062 219.7);
Tailwind
colors: {
  custom: {
    50: '#71949f',
    500: '#336979',
    950: '#000000',
  },
}
SCSS
$custom: #336979;
$custom-light: #71949f;
$custom-dark: #000000;
JSON
{
  "hex": "#336979",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 121
  },
  "hsl": {
    "h": 193.714,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.49065,
    "c": 0.06245,
    "h": 219.7
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#336979
secondary
#A77161
accent
#7357D1
background
#F7F9F9
surface
#EDF1F2
border
#C8CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #336979

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

Preview Lab → · Contrast checker → · Palette generator →

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