#336587#336587

#336587 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.7% C 0.077 H 240.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#336587
RGBrgb(51, 101, 135)
HSLhsl(204, 45%, 36%)
HSVhsv(204, 62%, 53%)
CMYKcmyk(62.2%, 25.2%, 0%, 47.1%)
CIE-LABlab(40.83, -5.89, -23.89)
CIE-LCHlch(40.83, 24.61, 256.16°)
OKLaboklab(48.72% -0.0378 -0.067)
OKLCHoklch(48.72% 0.077 240.6)
XYZxyz(10.3905, 11.7595, 24.6392)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336587 #875533
analogous
#33877F #336587 #333B87
triadic
#336587 #873365 #658733
tetradic
#336587 #7F3387 #875533 #3B8733
square
#336587 #7F3387 #875533 #3B8733
split-complementary
#336587 #87333B #877F33
monochromatic
#11232E #22445B #336587 #4486B3 #6DA3C8

Accessibility & contrast

On white

6.26
#336587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#336587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336587
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336587#FFFFFF#000000##FFFFFF
##3365871.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566589
Deuteranopia (green-blind)
#4A5D86
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336587;
/* rgb */ color: rgb(51, 101, 135);
/* oklch */ color: oklch(48.7% 0.077 240.6);
Tailwind
colors: {
  custom: {
    50: '#7390aa',
    500: '#336587',
    950: '#000000',
  },
}
SCSS
$custom: #336587;
$custom-light: #7390aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336587",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 135
  },
  "hsl": {
    "h": 204.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48718,
    "c": 0.07694,
    "h": 240.6
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#336587
secondary
#B08466
accent
#8853D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #336587

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

Preview Lab → · Contrast checker → · Palette generator →

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