#335C7E#335C7E

#335C7E is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.0% C 0.072 H 245.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#335C7E
RGBrgb(51, 92, 126)
HSLhsl(207, 42%, 35%)
HSVhsv(207, 60%, 49%)
CMYKcmyk(59.5%, 27%, 0%, 50.6%)
CIE-LABlab(37.60, -3.49, -23.45)
CIE-LCHlch(37.60, 23.71, 261.54°)
OKLaboklab(46.03% -0.0303 -0.0658)
OKLCHoklch(46.03% 0.072 245.3)
XYZxyz(8.9569, 9.8637, 21.1665)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C7E #7E5533
analogous
#337E7B #335C7E #33377E
triadic
#335C7E #7E335C #5C7E33
tetradic
#335C7E #7B337E #7E5533 #377E33
square
#335C7E #7B337E #7E5533 #377E33
split-complementary
#335C7E #7E3337 #7E7B33
monochromatic
#101C27 #213C52 #335C7E #457CAA #699AC2

Accessibility & contrast

On white

7.06
#335C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335C7E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C7E#FFFFFF#000000##FFFFFF
##335C7E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#006468
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #335c7e;
/* rgb */ color: rgb(51, 92, 126);
/* oklch */ color: oklch(46.0% 0.072 245.3);
Tailwind
colors: {
  custom: {
    50: '#718aa3',
    500: '#335c7e',
    950: '#000000',
  },
}
SCSS
$custom: #335c7e;
$custom-light: #718aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#335c7e",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 126
  },
  "hsl": {
    "h": 207.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46025,
    "c": 0.07242,
    "h": 245.3
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#335C7E
secondary
#AA8363
accent
#8E56D2
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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