#335B86#335B86

#335B86 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.084 H 251.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#335B86
RGBrgb(51, 91, 134)
HSLhsl(211, 45%, 36%)
HSVhsv(211, 62%, 53%)
CMYKcmyk(61.9%, 32.1%, 0%, 47.5%)
CIE-LABlab(37.67, -0.07, -28.21)
CIE-LCHlch(37.67, 28.21, 269.87°)
OKLaboklab(46.21% -0.0264 -0.0796)
OKLCHoklch(46.21% 0.084 251.6)
XYZxyz(9.4078, 9.9064, 23.9660)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B86 #865E33
analogous
#338586 #335B86 #353386
triadic
#335B86 #86335B #5B8633
tetradic
#335B86 #863385 #865E33 #338635
square
#335B86 #863385 #865E33 #338635
split-complementary
#335B86 #863533 #858633
monochromatic
#111F2D #223D5A #335B86 #4479B2 #6C98C7

Accessibility & contrast

On white

7.04
#335B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#335B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B86
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B86#FFFFFF#000000##FFFFFF
##335B861.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495D88
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#00656A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335b86;
/* rgb */ color: rgb(51, 91, 134);
/* oklch */ color: oklch(46.2% 0.084 251.6);
Tailwind
colors: {
  custom: {
    50: '#7289a9',
    500: '#335b86',
    950: '#000000',
  },
}
SCSS
$custom: #335b86;
$custom-light: #7289a9;
$custom-dark: #000000;
JSON
{
  "hex": "#335b86",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 134
  },
  "hsl": {
    "h": 211.084,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46214,
    "c": 0.08387,
    "h": 251.6
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#335B86
secondary
#AF8C66
accent
#9653D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #335B86

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

Preview Lab → · Contrast checker → · Palette generator →

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