#335E71#335E71

#335E71 is a mid, muted cyan. Relative luminance 0.099; OKLCH L 45.9% C 0.057 H 228.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#335E71
RGBrgb(51, 94, 113)
HSLhsl(198, 38%, 32%)
HSVhsv(198, 55%, 44%)
CMYKcmyk(54.9%, 16.8%, 0%, 55.7%)
CIE-LABlab(37.66, -9.06, -15.36)
CIE-LCHlch(37.66, 17.83, 239.47°)
OKLaboklab(45.89% -0.0377 -0.0427)
OKLCHoklch(45.89% 0.057 228.5)
XYZxyz(8.3475, 9.9008, 17.0907)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E71 #714633
analogous
#337165 #335E71 #333F71
triadic
#335E71 #71335E #5E7133
tetradic
#335E71 #653371 #714633 #3F7133
square
#335E71 #653371 #714633 #3F7133
split-complementary
#335E71 #71333F #716533
monochromatic
#0D181D #203B47 #335E71 #46819B #65A0B9

Accessibility & contrast

On white

7.05
#335E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335E71
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E71#FFFFFF#000000##FFFFFF
##335E711.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C72
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#0B6364
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335e71;
/* rgb */ color: rgb(51, 94, 113);
/* oklch */ color: oklch(45.9% 0.057 228.5);
Tailwind
colors: {
  custom: {
    50: '#708b99',
    500: '#335e71',
    950: '#000000',
  },
}
SCSS
$custom: #335e71;
$custom-light: #708b99;
$custom-dark: #000000;
JSON
{
  "hex": "#335e71",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 113
  },
  "hsl": {
    "h": 198.387,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45891,
    "c": 0.05694,
    "h": 228.5
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#335E71
secondary
#A2735E
accent
#7E5ACE
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #335E71

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

Preview Lab → · Contrast checker → · Palette generator →

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