#336A87#336A87

#336A87 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.0% C 0.074 H 234.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#336A87
RGBrgb(51, 106, 135)
HSLhsl(201, 45%, 36%)
HSVhsv(201, 62%, 53%)
CMYKcmyk(62.2%, 21.5%, 0%, 47.1%)
CIE-LABlab(42.40, -8.87, -21.46)
CIE-LCHlch(42.40, 23.22, 247.55°)
OKLaboklab(49.96% -0.0436 -0.06)
OKLCHoklch(49.96% 0.074 234)
XYZxyz(10.8908, 12.7601, 24.8060)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A87 #875033
analogous
#33877A #336A87 #334087
triadic
#336A87 #87336A #6A8733
tetradic
#336A87 #7A3387 #875033 #408733
square
#336A87 #7A3387 #875033 #408733
split-complementary
#336A87 #873340 #877A33
monochromatic
#11242E #22475B #336A87 #448DB3 #6DA8C8

Accessibility & contrast

On white

5.91
#336A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#336A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A87
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A87#FFFFFF#000000##FFFFFF
##336A871.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6988
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#007274
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336a87;
/* rgb */ color: rgb(51, 106, 135);
/* oklch */ color: oklch(50.0% 0.074 234.0);
Tailwind
colors: {
  custom: {
    50: '#7394aa',
    500: '#336a87',
    950: '#000000',
  },
}
SCSS
$custom: #336a87;
$custom-light: #7394aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336a87",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 135
  },
  "hsl": {
    "h": 200.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.0742,
    "h": 234
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#336A87
secondary
#B08066
accent
#8053D5
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336A87

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

Preview Lab → · Contrast checker → · Palette generator →

#336A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva