#335D7D#335D7D

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

Color values

HEX#335D7D
RGBrgb(51, 93, 125)
HSLhsl(206, 42%, 35%)
HSVhsv(206, 59%, 49%)
CMYKcmyk(59.2%, 25.6%, 0%, 51%)
CIE-LABlab(37.86, -4.45, -22.42)
CIE-LCHlch(37.86, 22.86, 258.78°)
OKLaboklab(46.22% -0.0318 -0.0628)
OKLCHoklch(46.22% 0.07 243.1)
XYZxyz(8.9799, 10.0124, 20.8574)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D7D #7D5333
analogous
#337D78 #335D7D #33387D
triadic
#335D7D #7D335D #5D7D33
tetradic
#335D7D #78337D #7D5333 #387D33
square
#335D7D #78337D #7D5333 #387D33
split-complementary
#335D7D #7D3338 #7D7833
monochromatic
#101C26 #213D52 #335D7D #457DA8 #699BC2

Accessibility & contrast

On white

6.99
#335D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #335D7D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D7D#FFFFFF#000000##FFFFFF
##335D7D1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7E
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#006568
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335d7d;
/* rgb */ color: rgb(51, 93, 125);
/* oklch */ color: oklch(46.2% 0.070 243.1);
Tailwind
colors: {
  custom: {
    50: '#718aa2',
    500: '#335d7d',
    950: '#000000',
  },
}
SCSS
$custom: #335d7d;
$custom-light: #718aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#335d7d",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 125
  },
  "hsl": {
    "h": 205.946,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.07043,
    "h": 243.1
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#335D7D
secondary
#AA8162
accent
#8C56D2
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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