#336E87#336E87

#336E87 is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.0% C 0.073 H 228.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#336E87
RGBrgb(51, 110, 135)
HSLhsl(198, 45%, 36%)
HSVhsv(198, 62%, 53%)
CMYKcmyk(62.2%, 18.5%, 0%, 47.1%)
CIE-LABlab(43.66, -11.20, -19.52)
CIE-LCHlch(43.66, 22.51, 240.15°)
OKLaboklab(50.97% -0.0483 -0.0544)
OKLCHoklch(50.97% 0.073 228.4)
XYZxyz(11.3126, 13.6038, 24.9466)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E87 #874C33
analogous
#338776 #336E87 #334487
triadic
#336E87 #87336E #6E8733
tetradic
#336E87 #763387 #874C33 #448733
square
#336E87 #763387 #874C33 #448733
split-complementary
#336E87 #873344 #877633
monochromatic
#11262E #224A5B #336E87 #4492B3 #6DADC8

Accessibility & contrast

On white

5.64
#336E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#336E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E87
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E87#FFFFFF#000000##FFFFFF
##336E871.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616C88
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#007576
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336e87;
/* rgb */ color: rgb(51, 110, 135);
/* oklch */ color: oklch(51.0% 0.073 228.4);
Tailwind
colors: {
  custom: {
    50: '#7397aa',
    500: '#336e87',
    950: '#000000',
  },
}
SCSS
$custom: #336e87;
$custom-light: #7397aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336e87",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 135
  },
  "hsl": {
    "h": 197.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.07278,
    "h": 228.4
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#336E87
secondary
#B07C66
accent
#7A53D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336E87

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

Preview Lab → · Contrast checker → · Palette generator →

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