#336887#336887

#336887 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.5% C 0.075 H 236.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#336887
RGBrgb(51, 104, 135)
HSLhsl(202, 45%, 36%)
HSVhsv(202, 62%, 53%)
CMYKcmyk(62.2%, 23%, 0%, 47.1%)
CIE-LABlab(41.77, -7.68, -22.43)
CIE-LCHlch(41.77, 23.71, 251.09°)
OKLaboklab(49.46% -0.0413 -0.0628)
OKLCHoklch(49.46% 0.075 236.7)
XYZxyz(10.6871, 12.3527, 24.7381)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336887 #875233
analogous
#33877C #336887 #333E87
triadic
#336887 #873368 #688733
tetradic
#336887 #7C3387 #875233 #3E8733
square
#336887 #7C3387 #875233 #3E8733
split-complementary
#336887 #87333E #877C33
monochromatic
#11242E #22465B #336887 #448AB3 #6DA6C8

Accessibility & contrast

On white

6.05
#336887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#336887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336887
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336887#FFFFFF#000000##FFFFFF
##3368871.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6788
Deuteranopia (green-blind)
#4E5F86
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336887;
/* rgb */ color: rgb(51, 104, 135);
/* oklch */ color: oklch(49.5% 0.075 236.7);
Tailwind
colors: {
  custom: {
    50: '#7393aa',
    500: '#336887',
    950: '#000000',
  },
}
SCSS
$custom: #336887;
$custom-light: #7393aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336887",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 135
  },
  "hsl": {
    "h": 202.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.07517,
    "h": 236.7
  },
  "luminance": 0.12354
}

Semantic roles & 50–950 ramp

primary
#336887
secondary
#B08166
accent
#8353D5
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336887

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

Preview Lab → · Contrast checker → · Palette generator →

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