#335B71#335B71

#335B71 is a mid, muted cyan. Relative luminance 0.094; OKLCH L 45.1% C 0.058 H 234.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#335B71
RGBrgb(51, 91, 113)
HSLhsl(201, 38%, 32%)
HSVhsv(201, 55%, 44%)
CMYKcmyk(54.9%, 19.5%, 0%, 55.7%)
CIE-LABlab(36.70, -7.26, -16.84)
CIE-LCHlch(36.70, 18.33, 246.68°)
OKLaboklab(45.13% -0.0339 -0.0468)
OKLCHoklch(45.13% 0.058 234.1)
XYZxyz(8.0859, 9.3776, 17.0035)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B71 #714933
analogous
#337168 #335B71 #333C71
triadic
#335B71 #71335B #5B7133
tetradic
#335B71 #683371 #714933 #3C7133
square
#335B71 #683371 #714933 #3C7133
split-complementary
#335B71 #71333C #716833
monochromatic
#0D171D #203947 #335B71 #467D9B #659BB9

Accessibility & contrast

On white

7.30
#335B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#335B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B71
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B71#FFFFFF#000000##FFFFFF
##335B711.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#485371
Tritanopia (blue-blind)
#0D6162
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335b71;
/* rgb */ color: rgb(51, 91, 113);
/* oklch */ color: oklch(45.1% 0.058 234.1);
Tailwind
colors: {
  custom: {
    50: '#708999',
    500: '#335b71',
    950: '#000000',
  },
}
SCSS
$custom: #335b71;
$custom-light: #708999;
$custom-dark: #000000;
JSON
{
  "hex": "#335b71",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 113
  },
  "hsl": {
    "h": 201.29,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45126,
    "c": 0.05781,
    "h": 234.1
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#335B71
secondary
#A2765E
accent
#835ACE
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335B71

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

Preview Lab → · Contrast checker → · Palette generator →

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