#335F79#335F79

#335F79 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.5% C 0.065 H 236.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#335F79
RGBrgb(51, 95, 121)
HSLhsl(202, 41%, 34%)
HSVhsv(202, 58%, 47%)
CMYKcmyk(57.9%, 21.5%, 0%, 52.5%)
CIE-LABlab(38.32, -7.02, -19.27)
CIE-LCHlch(38.32, 20.51, 249.98°)
OKLaboklab(46.52% -0.0358 -0.0538)
OKLCHoklch(46.52% 0.065 236.4)
XYZxyz(8.9074, 10.2679, 19.5980)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F79 #794D33
analogous
#337970 #335F79 #333C79
triadic
#335F79 #79335F #5F7933
tetradic
#335F79 #703379 #794D33 #3C7933
square
#335F79 #703379 #794D33 #3C7933
split-complementary
#335F79 #79333C #797033
monochromatic
#0F1B23 #213D4E #335F79 #4581A4 #679EBF

Accessibility & contrast

On white

6.88
#335F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#335F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335F79
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F79#FFFFFF#000000##FFFFFF
##335F791.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7A
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335f79;
/* rgb */ color: rgb(51, 95, 121);
/* oklch */ color: oklch(46.5% 0.065 236.4);
Tailwind
colors: {
  custom: {
    50: '#718c9f',
    500: '#335f79',
    950: '#000000',
  },
}
SCSS
$custom: #335f79;
$custom-light: #718c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#335f79",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 121
  },
  "hsl": {
    "h": 202.286,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46522,
    "c": 0.06459,
    "h": 236.4
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#335F79
secondary
#A77B61
accent
#8457D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #335F79

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

Preview Lab → · Contrast checker → · Palette generator →

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