#335A71#335A71

#335A71 is a dark, muted cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.058 H 236.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#335A71
RGBrgb(51, 90, 113)
HSLhsl(202, 38%, 32%)
HSVhsv(202, 55%, 44%)
CMYKcmyk(54.9%, 20.4%, 0%, 55.7%)
CIE-LABlab(36.38, -6.65, -17.33)
CIE-LCHlch(36.38, 18.56, 249.01°)
OKLaboklab(44.87% -0.0326 -0.0482)
OKLCHoklch(44.87% 0.058 236)
XYZxyz(8.0010, 9.2077, 16.9752)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A71 #714A33
analogous
#337169 #335A71 #333B71
triadic
#335A71 #71335A #5A7133
tetradic
#335A71 #693371 #714A33 #3B7133
square
#335A71 #693371 #714A33 #3B7133
split-complementary
#335A71 #71333B #716933
monochromatic
#0D171D #203847 #335A71 #467C9B #659AB9

Accessibility & contrast

On white

7.39
#335A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#335A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335A71
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A71#FFFFFF#000000##FFFFFF
##335A711.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5972
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#0D6062
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335a71;
/* rgb */ color: rgb(51, 90, 113);
/* oklch */ color: oklch(44.9% 0.058 236.0);
Tailwind
colors: {
  custom: {
    50: '#6f889a',
    500: '#335a71',
    950: '#000000',
  },
}
SCSS
$custom: #335a71;
$custom-light: #6f889a;
$custom-dark: #000000;
JSON
{
  "hex": "#335a71",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 113
  },
  "hsl": {
    "h": 202.258,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44872,
    "c": 0.05823,
    "h": 236
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#335A71
secondary
#A2775E
accent
#855ACE
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335A71

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

Preview Lab → · Contrast checker → · Palette generator →

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