#336B87#336B87

#336B87 is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.2% C 0.074 H 232.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#336B87
RGBrgb(51, 107, 135)
HSLhsl(200, 45%, 36%)
HSVhsv(200, 62%, 53%)
CMYKcmyk(62.2%, 20.7%, 0%, 47.1%)
CIE-LABlab(42.71, -9.46, -20.98)
CIE-LCHlch(42.71, 23.01, 245.73°)
OKLaboklab(50.21% -0.0448 -0.0586)
OKLCHoklch(50.21% 0.074 232.6)
XYZxyz(10.9944, 12.9674, 24.8405)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B87 #874F33
analogous
#338779 #336B87 #334187
triadic
#336B87 #87336B #6B8733
tetradic
#336B87 #793387 #874F33 #418733
square
#336B87 #793387 #874F33 #418733
split-complementary
#336B87 #873341 #877933
monochromatic
#11252E #22485B #336B87 #448EB3 #6DA9C8

Accessibility & contrast

On white

5.84
#336B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#336B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B87
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B87#FFFFFF#000000##FFFFFF
##336B871.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A88
Deuteranopia (green-blind)
#526187
Tritanopia (blue-blind)
#007374
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336b87;
/* rgb */ color: rgb(51, 107, 135);
/* oklch */ color: oklch(50.2% 0.074 232.6);
Tailwind
colors: {
  custom: {
    50: '#7395aa',
    500: '#336b87',
    950: '#000000',
  },
}
SCSS
$custom: #336b87;
$custom-light: #7395aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336b87",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 135
  },
  "hsl": {
    "h": 200,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.07378,
    "h": 232.6
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#336B87
secondary
#B07F66
accent
#7E53D5
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336B87

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

Preview Lab → · Contrast checker → · Palette generator →

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