#335D79#335D79

#335D79 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.0% C 0.066 H 239.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#335D79
RGBrgb(51, 93, 121)
HSLhsl(204, 41%, 34%)
HSVhsv(204, 58%, 47%)
CMYKcmyk(57.9%, 23.1%, 0%, 52.5%)
CIE-LABlab(37.68, -5.81, -20.25)
CIE-LCHlch(37.68, 21.07, 254.00°)
OKLaboklab(46.02% -0.0333 -0.0566)
OKLCHoklch(46.02% 0.066 239.5)
XYZxyz(8.7295, 9.9122, 19.5387)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D79 #794F33
analogous
#337972 #335D79 #333A79
triadic
#335D79 #79335D #5D7933
tetradic
#335D79 #723379 #794F33 #3A7933
square
#335D79 #723379 #794F33 #3A7933
split-complementary
#335D79 #79333A #797233
monochromatic
#0F1B23 #213C4E #335D79 #457EA4 #679CBF

Accessibility & contrast

On white

7.04
#335D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335D79
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D79#FFFFFF#000000##FFFFFF
##335D791.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7A
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#006466
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335d79;
/* rgb */ color: rgb(51, 93, 121);
/* oklch */ color: oklch(46.0% 0.066 239.5);
Tailwind
colors: {
  custom: {
    50: '#718a9f',
    500: '#335d79',
    950: '#000000',
  },
}
SCSS
$custom: #335d79;
$custom-light: #718a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#335d79",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 121
  },
  "hsl": {
    "h": 204,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4602,
    "c": 0.06566,
    "h": 239.5
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#335D79
secondary
#A77D61
accent
#8857D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335D79

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

Preview Lab → · Contrast checker → · Palette generator →

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