#335A86#335A86

#335A86 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.0% C 0.085 H 252.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#335A86
RGBrgb(51, 90, 134)
HSLhsl(212, 45%, 36%)
HSVhsv(212, 62%, 53%)
CMYKcmyk(61.9%, 32.8%, 0%, 47.5%)
CIE-LABlab(37.37, 0.57, -28.70)
CIE-LCHlch(37.37, 28.70, 271.13°)
OKLaboklab(45.97% -0.0253 -0.081)
OKLCHoklch(45.97% 0.085 252.7)
XYZxyz(9.3229, 9.7365, 23.9377)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A86 #865F33
analogous
#338486 #335A86 #363386
triadic
#335A86 #86335A #5A8633
tetradic
#335A86 #863384 #865F33 #338636
square
#335A86 #863384 #865F33 #338636
split-complementary
#335A86 #863633 #848633
monochromatic
#111E2D #223C5A #335A86 #4478B2 #6C97C7

Accessibility & contrast

On white

7.12
#335A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#335A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335A86
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A86#FFFFFF#000000##FFFFFF
##335A861.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C88
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #335a86;
/* rgb */ color: rgb(51, 90, 134);
/* oklch */ color: oklch(46.0% 0.085 252.7);
Tailwind
colors: {
  custom: {
    50: '#7288a9',
    500: '#335a86',
    950: '#000000',
  },
}
SCSS
$custom: #335a86;
$custom-light: #7288a9;
$custom-dark: #000000;
JSON
{
  "hex": "#335a86",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 134
  },
  "hsl": {
    "h": 211.807,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45972,
    "c": 0.08487,
    "h": 252.7
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#335A86
secondary
#AF8D66
accent
#9853D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #335A86

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

Preview Lab → · Contrast checker → · Palette generator →

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