#335C7C#335C7C

#335C7C is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.9% C 0.070 H 243.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#335C7C
RGBrgb(51, 92, 124)
HSLhsl(206, 42%, 34%)
HSVhsv(206, 59%, 49%)
CMYKcmyk(58.9%, 25.8%, 0%, 51.4%)
CIE-LABlab(37.50, -4.18, -22.37)
CIE-LCHlch(37.50, 22.76, 259.43°)
OKLaboklab(45.92% -0.031 -0.0627)
OKLCHoklch(45.92% 0.07 243.7)
XYZxyz(8.8291, 9.8126, 20.4936)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C7C #7C5333
analogous
#337C78 #335C7C #33387C
triadic
#335C7C #7C335C #5C7C33
tetradic
#335C7C #78337C #7C5333 #387C33
square
#335C7C #78337C #7C5333 #387C33
split-complementary
#335C7C #7C3338 #7C7833
monochromatic
#0F1C25 #213C51 #335C7C #457CA7 #689AC1

Accessibility & contrast

On white

7.09
#335C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#335C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C7C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C7C#FFFFFF#000000##FFFFFF
##335C7C1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335c7c;
/* rgb */ color: rgb(51, 92, 124);
/* oklch */ color: oklch(45.9% 0.070 243.7);
Tailwind
colors: {
  custom: {
    50: '#718aa2',
    500: '#335c7c',
    950: '#000000',
  },
}
SCSS
$custom: #335c7c;
$custom-light: #718aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#335c7c",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 124
  },
  "hsl": {
    "h": 206.301,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.06991,
    "h": 243.7
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#335C7C
secondary
#A98162
accent
#8C56D2
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #335C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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