#336178#336178

#336178 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.0% C 0.063 H 232.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#336178
RGBrgb(51, 97, 120)
HSLhsl(200, 40%, 34%)
HSVhsv(200, 58%, 47%)
CMYKcmyk(57.5%, 19.2%, 0%, 52.9%)
CIE-LABlab(38.91, -8.55, -17.74)
CIE-LCHlch(38.91, 19.70, 244.26°)
OKLaboklab(46.98% -0.0386 -0.0494)
OKLCHoklch(46.98% 0.063 232)
XYZxyz(9.0288, 10.6085, 19.3375)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336178 #784A33
analogous
#33786C #336178 #333E78
triadic
#336178 #783361 #617833
tetradic
#336178 #6C3378 #784A33 #3E7833
square
#336178 #6C3378 #784A33 #3E7833
split-complementary
#336178 #78333E #786C33
monochromatic
#0E1C22 #213E4D #336178 #4584A3 #67A1BE

Accessibility & contrast

On white

6.73
#336178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#336178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336178
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336178#FFFFFF#000000##FFFFFF
##3361781.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566079
Deuteranopia (green-blind)
#4C5878
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336178;
/* rgb */ color: rgb(51, 97, 120);
/* oklch */ color: oklch(47.0% 0.063 232.0);
Tailwind
colors: {
  custom: {
    50: '#718d9f',
    500: '#336178',
    950: '#000000',
  },
}
SCSS
$custom: #336178;
$custom-light: #718d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#336178",
  "rgb": {
    "r": 51,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 200,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4698,
    "c": 0.06274,
    "h": 232
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#336178
secondary
#A67860
accent
#8058D0
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #336178

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

Preview Lab → · Contrast checker → · Palette generator →

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