#335C79#335C79

#335C79 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.8% C 0.066 H 241.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#335C79
RGBrgb(51, 92, 121)
HSLhsl(205, 41%, 34%)
HSVhsv(205, 58%, 47%)
CMYKcmyk(57.9%, 24%, 0%, 52.5%)
CIE-LABlab(37.37, -5.20, -20.74)
CIE-LCHlch(37.37, 21.38, 255.93°)
OKLaboklab(45.77% -0.0321 -0.058)
OKLCHoklch(45.77% 0.066 241.1)
XYZxyz(8.6423, 9.7378, 19.5096)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C79 #795033
analogous
#337973 #335C79 #333979
triadic
#335C79 #79335C #5C7933
tetradic
#335C79 #733379 #795033 #397933
square
#335C79 #733379 #795033 #397933
split-complementary
#335C79 #793339 #797333
monochromatic
#0F1B23 #213B4E #335C79 #457DA4 #679BBF

Accessibility & contrast

On white

7.12
#335C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#335C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C79
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C79#FFFFFF#000000##FFFFFF
##335C791.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7A
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#006366
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #335c79;
/* rgb */ color: rgb(51, 92, 121);
/* oklch */ color: oklch(45.8% 0.066 241.1);
Tailwind
colors: {
  custom: {
    50: '#718a9f',
    500: '#335c79',
    950: '#000000',
  },
}
SCSS
$custom: #335c79;
$custom-light: #718a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#335c79",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 121
  },
  "hsl": {
    "h": 204.857,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.06627,
    "h": 241.1
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#335C79
secondary
#A77E61
accent
#8A57D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335C79

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

Preview Lab → · Contrast checker → · Palette generator →

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