#335C7A#335C7A

#335C7A is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.8% C 0.067 H 242.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#335C7A
RGBrgb(51, 92, 122)
HSLhsl(205, 41%, 34%)
HSVhsv(205, 58%, 48%)
CMYKcmyk(58.2%, 24.6%, 0%, 52.2%)
CIE-LABlab(37.41, -4.86, -21.28)
CIE-LCHlch(37.41, 21.83, 257.14°)
OKLaboklab(45.82% -0.0317 -0.0596)
OKLCHoklch(45.82% 0.067 242)
XYZxyz(8.7040, 9.7625, 19.8342)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C7A #7A5133
analogous
#337A75 #335C7A #33397A
triadic
#335C7A #7A335C #5C7A33
tetradic
#335C7A #75337A #7A5133 #397A33
square
#335C7A #75337A #7A5133 #397A33
split-complementary
#335C7A #7A3339 #7A7533
monochromatic
#0F1B24 #213B4F #335C7A #457DA5 #689BC0

Accessibility & contrast

On white

7.11
#335C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335C7A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C7A#FFFFFF#000000##FFFFFF
##335C7A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335c7a;
/* rgb */ color: rgb(51, 92, 122);
/* oklch */ color: oklch(45.8% 0.067 242.0);
Tailwind
colors: {
  custom: {
    50: '#718aa0',
    500: '#335c7a',
    950: '#000000',
  },
}
SCSS
$custom: #335c7a;
$custom-light: #718aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#335c7a",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 122
  },
  "hsl": {
    "h": 205.352,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.06747,
    "h": 242
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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