#335C86#335C86

#335C86 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.5% C 0.083 H 250.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#335C86
RGBrgb(51, 92, 134)
HSLhsl(210, 45%, 36%)
HSVhsv(210, 62%, 53%)
CMYKcmyk(61.9%, 31.3%, 0%, 47.5%)
CIE-LABlab(37.98, -0.69, -27.73)
CIE-LCHlch(37.98, 27.74, 268.57°)
OKLaboklab(46.46% -0.0276 -0.0782)
OKLCHoklch(46.46% 0.083 250.6)
XYZxyz(9.4939, 10.0785, 23.9947)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C86 #865D33
analogous
#338686 #335C86 #333386
triadic
#335C86 #86335C #5C8633
tetradic
#335C86 #863386 #865D33 #338633
square
#335C86 #863386 #865D33 #338633
split-complementary
#335C86 #863333 #868633
monochromatic
#111F2D #223E5A #335C86 #447AB2 #6C99C7

Accessibility & contrast

On white

6.96
#335C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#335C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335C86
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C86#FFFFFF#000000##FFFFFF
##335C861.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E88
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335c86;
/* rgb */ color: rgb(51, 92, 134);
/* oklch */ color: oklch(46.5% 0.083 250.6);
Tailwind
colors: {
  custom: {
    50: '#7289a9',
    500: '#335c86',
    950: '#000000',
  },
}
SCSS
$custom: #335c86;
$custom-light: #7289a9;
$custom-dark: #000000;
JSON
{
  "hex": "#335c86",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 134
  },
  "hsl": {
    "h": 210.361,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46456,
    "c": 0.08291,
    "h": 250.6
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#335C86
secondary
#AF8B66
accent
#9553D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #335C86

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

Preview Lab → · Contrast checker → · Palette generator →

#335C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva