#335D7C#335D7C

#335D7C is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.2% C 0.069 H 242.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#335D7C
RGBrgb(51, 93, 124)
HSLhsl(205, 42%, 34%)
HSVhsv(205, 59%, 49%)
CMYKcmyk(58.9%, 25%, 0%, 51.4%)
CIE-LABlab(37.82, -4.79, -21.88)
CIE-LCHlch(37.82, 22.40, 257.65°)
OKLaboklab(46.17% -0.0322 -0.0613)
OKLCHoklch(46.17% 0.069 242.3)
XYZxyz(8.9163, 9.9870, 20.5227)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D7C #7C5233
analogous
#337C77 #335D7C #33397C
triadic
#335D7C #7C335D #5D7C33
tetradic
#335D7C #77337C #7C5233 #397C33
square
#335D7C #77337C #7C5233 #397C33
split-complementary
#335D7C #7C3339 #7C7733
monochromatic
#0F1C25 #213C51 #335D7C #457EA7 #689BC1

Accessibility & contrast

On white

7.01
#335D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#335D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D7C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D7C#FFFFFF#000000##FFFFFF
##335D7C1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7D
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#006568
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335d7c;
/* rgb */ color: rgb(51, 93, 124);
/* oklch */ color: oklch(46.2% 0.069 242.3);
Tailwind
colors: {
  custom: {
    50: '#718aa2',
    500: '#335d7c',
    950: '#000000',
  },
}
SCSS
$custom: #335d7c;
$custom-light: #718aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#335d7c",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 124
  },
  "hsl": {
    "h": 205.479,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.06921,
    "h": 242.3
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#335D7C
secondary
#A98062
accent
#8B56D2
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #335D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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