#336785#336785

#336785 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.1% C 0.074 H 236.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#336785
RGBrgb(51, 103, 133)
HSLhsl(202, 45%, 36%)
HSVhsv(202, 62%, 52%)
CMYKcmyk(61.7%, 22.6%, 0%, 47.8%)
CIE-LABlab(41.37, -7.77, -21.85)
CIE-LCHlch(41.37, 23.19, 250.42°)
OKLaboklab(49.11% -0.0409 -0.0611)
OKLCHoklch(49.11% 0.074 236.2)
XYZxyz(10.4475, 12.0968, 23.9701)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336785 #855133
analogous
#33857A #336785 #333E85
triadic
#336785 #853367 #678533
tetradic
#336785 #7A3385 #855133 #3E8533
square
#336785 #7A3385 #855133 #3E8533
split-complementary
#336785 #85333E #857A33
monochromatic
#11222D #224559 #336785 #4489B1 #6CA5C7

Accessibility & contrast

On white

6.14
#336785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#336785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336785
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336785#FFFFFF#000000##FFFFFF
##3367851.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596686
Deuteranopia (green-blind)
#4E5E85
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336785;
/* rgb */ color: rgb(51, 103, 133);
/* oklch */ color: oklch(49.1% 0.074 236.2);
Tailwind
colors: {
  custom: {
    50: '#7392a8',
    500: '#336785',
    950: '#000000',
  },
}
SCSS
$custom: #336785;
$custom-light: #7392a8;
$custom-dark: #000000;
JSON
{
  "hex": "#336785",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 133
  },
  "hsl": {
    "h": 201.951,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.07354,
    "h": 236.2
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#336785
secondary
#AE8065
accent
#8354D4
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D0F
muted
#7B7D7F

Preview Lab

Preview with #336785

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

Preview Lab → · Contrast checker → · Palette generator →

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