#336879#336879

#336879 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.8% C 0.062 H 221.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#336879
RGBrgb(51, 104, 121)
HSLhsl(195, 41%, 34%)
HSVhsv(195, 58%, 47%)
CMYKcmyk(57.9%, 14%, 0%, 52.5%)
CIE-LABlab(41.19, -12.33, -14.86)
CIE-LCHlch(41.19, 19.31, 230.33°)
OKLaboklab(48.81% -0.0468 -0.0412)
OKLCHoklch(48.81% 0.062 221.4)
XYZxyz(9.7654, 11.9840, 19.8840)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336879 #794433
analogous
#337967 #336879 #334579
triadic
#336879 #793368 #687933
tetradic
#336879 #673379 #794433 #457933
square
#336879 #673379 #794433 #457933
split-complementary
#336879 #793345 #796733
monochromatic
#0F1E23 #21434E #336879 #458DA4 #67AABF

Accessibility & contrast

On white

6.18
#336879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#336879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336879
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336879#FFFFFF#000000##FFFFFF
##3368791.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E667A
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#006E6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336879;
/* rgb */ color: rgb(51, 104, 121);
/* oklch */ color: oklch(48.8% 0.062 221.4);
Tailwind
colors: {
  custom: {
    50: '#71939f',
    500: '#336879',
    950: '#000000',
  },
}
SCSS
$custom: #336879;
$custom-light: #71939f;
$custom-dark: #000000;
JSON
{
  "hex": "#336879",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 121
  },
  "hsl": {
    "h": 194.571,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.06242,
    "h": 221.4
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#336879
secondary
#A77261
accent
#7557D1
background
#F7F9F9
surface
#EDF1F2
border
#C8CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #336879

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

Preview Lab → · Contrast checker → · Palette generator →

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