#335C7B#335C7B

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

Color values

HEX#335C7B
RGBrgb(51, 92, 123)
HSLhsl(206, 41%, 34%)
HSVhsv(206, 59%, 48%)
CMYKcmyk(58.5%, 25.2%, 0%, 51.8%)
CIE-LABlab(37.46, -4.52, -21.83)
CIE-LCHlch(37.46, 22.29, 258.31°)
OKLaboklab(45.87% -0.0313 -0.0611)
OKLCHoklch(45.87% 0.069 242.9)
XYZxyz(8.7662, 9.7874, 20.1622)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C7B #7B5233
analogous
#337B76 #335C7B #33387B
triadic
#335C7B #7B335C #5C7B33
tetradic
#335C7B #76337B #7B5233 #387B33
square
#335C7B #76337B #7B5233 #387B33
split-complementary
#335C7B #7B3338 #7B7633
monochromatic
#0F1B24 #213C50 #335C7B #457CA6 #689AC0

Accessibility & contrast

On white

7.10
#335C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335C7B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C7B#FFFFFF#000000##FFFFFF
##335C7B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #335c7b;
/* rgb */ color: rgb(51, 92, 123);
/* oklch */ color: oklch(45.9% 0.069 242.9);
Tailwind
colors: {
  custom: {
    50: '#718aa1',
    500: '#335c7b',
    950: '#000000',
  },
}
SCSS
$custom: #335c7b;
$custom-light: #718aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#335c7b",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 123
  },
  "hsl": {
    "h": 205.833,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.06868,
    "h": 242.9
  },
  "luminance": 0.09788
}

Semantic roles & 50–950 ramp

primary
#335C7B
secondary
#A88062
accent
#8B57D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #335C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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