#336586#336586

#336586 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.7% C 0.076 H 239.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#336586
RGBrgb(51, 101, 134)
HSLhsl(204, 45%, 36%)
HSVhsv(204, 62%, 53%)
CMYKcmyk(61.9%, 24.6%, 0%, 47.5%)
CIE-LABlab(40.79, -6.23, -23.36)
CIE-LCHlch(40.79, 24.17, 255.07°)
OKLaboklab(48.67% -0.0382 -0.0655)
OKLCHoklch(48.67% 0.076 239.8)
XYZxyz(10.3204, 11.7314, 24.2701)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336586 #865433
analogous
#33867E #336586 #333C86
triadic
#336586 #863365 #658633
tetradic
#336586 #7E3386 #865433 #3C8633
square
#336586 #7E3386 #865433 #3C8633
split-complementary
#336586 #86333C #867E33
monochromatic
#11222D #22445A #336586 #4486B2 #6CA3C7

Accessibility & contrast

On white

6.28
#336586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336586
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336586#FFFFFF#000000##FFFFFF
##3365861.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566588
Deuteranopia (green-blind)
#4B5C85
Tritanopia (blue-blind)
#006D70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336586;
/* rgb */ color: rgb(51, 101, 134);
/* oklch */ color: oklch(48.7% 0.076 239.8);
Tailwind
colors: {
  custom: {
    50: '#7390a9',
    500: '#336586',
    950: '#000000',
  },
}
SCSS
$custom: #336586;
$custom-light: #7390a9;
$custom-dark: #000000;
JSON
{
  "hex": "#336586",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 134
  },
  "hsl": {
    "h": 203.855,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48667,
    "c": 0.07579,
    "h": 239.8
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#336586
secondary
#AF8366
accent
#8753D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #336586

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

Preview Lab → · Contrast checker → · Palette generator →

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