#335686#335686

#335686 is a mid, moderate cyan. Relative luminance 0.091; OKLCH L 45.0% C 0.089 H 256.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#335686
RGBrgb(51, 86, 134)
HSLhsl(215, 45%, 36%)
HSVhsv(215, 62%, 53%)
CMYKcmyk(61.9%, 35.8%, 0%, 47.5%)
CIE-LABlab(36.14, 3.12, -30.63)
CIE-LCHlch(36.14, 30.79, 275.82°)
OKLaboklab(45.01% -0.0206 -0.0867)
OKLCHoklch(45.01% 0.089 256.6)
XYZxyz(8.9946, 9.0798, 23.8282)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335686 #866333
analogous
#338086 #335686 #3A3386
triadic
#335686 #863356 #568633
tetradic
#335686 #863380 #866333 #33863A
square
#335686 #863380 #866333 #33863A
split-complementary
#335686 #863A33 #808633
monochromatic
#111D2D #223A5A #335686 #4472B2 #6C93C7

Accessibility & contrast

On white

7.46
#335686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#335686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335686
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335686#FFFFFF#000000##FFFFFF
##3356861.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425988
Deuteranopia (green-blind)
#375185
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335686;
/* rgb */ color: rgb(51, 86, 134);
/* oklch */ color: oklch(45.0% 0.089 256.6);
Tailwind
colors: {
  custom: {
    50: '#7285a9',
    500: '#335686',
    950: '#000000',
  },
}
SCSS
$custom: #335686;
$custom-light: #7285a9;
$custom-dark: #000000;
JSON
{
  "hex": "#335686",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 214.699,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.0891,
    "h": 256.6
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#335686
secondary
#AF9066
accent
#9E53D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #335686

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

Preview Lab → · Contrast checker → · Palette generator →

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