#335C71#335C71

#335C71 is a mid, muted cyan. Relative luminance 0.096; OKLCH L 45.4% C 0.057 H 232.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#335C71
RGBrgb(51, 92, 113)
HSLhsl(200, 38%, 32%)
HSVhsv(200, 55%, 44%)
CMYKcmyk(54.9%, 18.6%, 0%, 55.7%)
CIE-LABlab(37.02, -7.86, -16.35)
CIE-LCHlch(37.02, 18.14, 244.31°)
OKLaboklab(45.38% -0.0351 -0.0454)
OKLCHoklch(45.38% 0.057 232.3)
XYZxyz(8.1719, 9.5497, 17.0322)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C71 #714833
analogous
#337167 #335C71 #333D71
triadic
#335C71 #71335C #5C7133
tetradic
#335C71 #673371 #714833 #3D7133
square
#335C71 #673371 #714833 #3D7133
split-complementary
#335C71 #71333D #716733
monochromatic
#0D171D #203A47 #335C71 #467E9B #659DB9

Accessibility & contrast

On white

7.22
#335C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#335C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C71
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C71#FFFFFF#000000##FFFFFF
##335C711.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#0C6263
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335c71;
/* rgb */ color: rgb(51, 92, 113);
/* oklch */ color: oklch(45.4% 0.057 232.3);
Tailwind
colors: {
  custom: {
    50: '#708a99',
    500: '#335c71',
    950: '#000000',
  },
}
SCSS
$custom: #335c71;
$custom-light: #708a99;
$custom-dark: #000000;
JSON
{
  "hex": "#335c71",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 113
  },
  "hsl": {
    "h": 200.323,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.05746,
    "h": 232.3
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#335C71
secondary
#A2755E
accent
#815ACE
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335C71

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

Preview Lab → · Contrast checker → · Palette generator →

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