#335F71#335F71

#335F71 is a mid, muted cyan. Relative luminance 0.101; OKLCH L 46.1% C 0.057 H 226.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#335F71
RGBrgb(51, 95, 113)
HSLhsl(197, 38%, 32%)
HSVhsv(197, 55%, 44%)
CMYKcmyk(54.9%, 15.9%, 0%, 55.7%)
CIE-LABlab(37.99, -9.65, -14.87)
CIE-LCHlch(37.99, 17.73, 237.01°)
OKLaboklab(46.15% -0.039 -0.0413)
OKLCHoklch(46.15% 0.057 226.6)
XYZxyz(8.4370, 10.0798, 17.1206)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F71 #714533
analogous
#337164 #335F71 #334071
triadic
#335F71 #71335F #5F7133
tetradic
#335F71 #643371 #714533 #407133
square
#335F71 #643371 #714533 #407133
split-complementary
#335F71 #713340 #716433
monochromatic
#0D181D #203C47 #335F71 #46829B #65A1B9

Accessibility & contrast

On white

6.96
#335F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#335F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335F71
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F71#FFFFFF#000000##FFFFFF
##335F711.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#0B6465
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335f71;
/* rgb */ color: rgb(51, 95, 113);
/* oklch */ color: oklch(46.1% 0.057 226.6);
Tailwind
colors: {
  custom: {
    50: '#708c99',
    500: '#335f71',
    950: '#000000',
  },
}
SCSS
$custom: #335f71;
$custom-light: #708c99;
$custom-dark: #000000;
JSON
{
  "hex": "#335f71",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 113
  },
  "hsl": {
    "h": 197.419,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.46147,
    "c": 0.05676,
    "h": 226.6
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#335F71
secondary
#A2725E
accent
#7C5ACE
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #335F71

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

Preview Lab → · Contrast checker → · Palette generator →

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