#335C7D#335C7D

#335C7D is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.0% C 0.071 H 244.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#335C7D
RGBrgb(51, 92, 125)
HSLhsl(207, 42%, 35%)
HSVhsv(207, 59%, 49%)
CMYKcmyk(59.2%, 26.4%, 0%, 51%)
CIE-LABlab(37.55, -3.83, -22.91)
CIE-LCHlch(37.55, 23.23, 260.50°)
OKLaboklab(45.97% -0.0306 -0.0642)
OKLCHoklch(45.97% 0.071 244.5)
XYZxyz(8.8927, 9.8380, 20.8284)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C7D #7D5433
analogous
#337D79 #335C7D #33377D
triadic
#335C7D #7D335C #5C7D33
tetradic
#335C7D #79337D #7D5433 #377D33
square
#335C7D #79337D #7D5433 #377D33
split-complementary
#335C7D #7D3337 #7D7933
monochromatic
#101C26 #213C52 #335C7D #457CA8 #699AC2

Accessibility & contrast

On white

7.08
#335C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#335C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C7D
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C7D#FFFFFF#000000##FFFFFF
##335C7D1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #335c7d;
/* rgb */ color: rgb(51, 92, 125);
/* oklch */ color: oklch(46.0% 0.071 244.5);
Tailwind
colors: {
  custom: {
    50: '#718aa2',
    500: '#335c7d',
    950: '#000000',
  },
}
SCSS
$custom: #335c7d;
$custom-light: #718aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#335c7d",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 125
  },
  "hsl": {
    "h": 206.757,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45973,
    "c": 0.07116,
    "h": 244.5
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#335C7D
secondary
#AA8262
accent
#8D56D2
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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