#336478#336478

#336478 is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 47.7% C 0.062 H 226.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#336478
RGBrgb(51, 100, 120)
HSLhsl(197, 40%, 34%)
HSVhsv(197, 58%, 47%)
CMYKcmyk(57.5%, 16.7%, 0%, 52.9%)
CIE-LABlab(39.87, -10.33, -16.27)
CIE-LCHlch(39.87, 19.27, 237.60°)
OKLaboklab(47.74% -0.0424 -0.0452)
OKLCHoklch(47.74% 0.062 226.9)
XYZxyz(9.3113, 11.1734, 19.4316)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336478 #784733
analogous
#337869 #336478 #334178
triadic
#336478 #783364 #647833
tetradic
#336478 #693378 #784733 #417833
square
#336478 #693378 #784733 #417833
split-complementary
#336478 #783341 #786933
monochromatic
#0E1C22 #21404D #336478 #4588A3 #67A5BE

Accessibility & contrast

On white

6.49
#336478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#336478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336478
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336478#FFFFFF#000000##FFFFFF
##3364781.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596279
Deuteranopia (green-blind)
#4F5B78
Tritanopia (blue-blind)
#006A6A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336478;
/* rgb */ color: rgb(51, 100, 120);
/* oklch */ color: oklch(47.7% 0.062 226.9);
Tailwind
colors: {
  custom: {
    50: '#71909f',
    500: '#336478',
    950: '#000000',
  },
}
SCSS
$custom: #336478;
$custom-light: #71909f;
$custom-dark: #000000;
JSON
{
  "hex": "#336478",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 120
  },
  "hsl": {
    "h": 197.391,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.06198,
    "h": 226.9
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#336478
secondary
#A67560
accent
#7B58D0
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #336478

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

Preview Lab → · Contrast checker → · Palette generator →

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