#335772#335772

#335772 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.061 H 242.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#335772
RGBrgb(51, 87, 114)
HSLhsl(206, 38%, 32%)
HSVhsv(206, 55%, 45%)
CMYKcmyk(55.3%, 23.7%, 0%, 55.3%)
CIE-LABlab(35.47, -4.47, -19.36)
CIE-LCHlch(35.47, 19.87, 256.98°)
OKLaboklab(44.16% -0.0283 -0.054)
OKLCHoklch(44.16% 0.061 242.3)
XYZxyz(7.8096, 8.7345, 17.1907)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335772 #724E33
analogous
#33726E #335772 #333872
triadic
#335772 #723357 #577233
tetradic
#335772 #6E3372 #724E33 #387233
square
#335772 #6E3372 #724E33 #387233
split-complementary
#335772 #723338 #726E33
monochromatic
#0D161D #203748 #335772 #46779C #6596BA

Accessibility & contrast

On white

7.64
#335772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#335772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335772
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335772#FFFFFF#000000##FFFFFF
##3357721.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#0D5E60
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335772;
/* rgb */ color: rgb(51, 87, 114);
/* oklch */ color: oklch(44.2% 0.061 242.3);
Tailwind
colors: {
  custom: {
    50: '#6f869a',
    500: '#335772',
    950: '#000000',
  },
}
SCSS
$custom: #335772;
$custom-light: #6f869a;
$custom-dark: #000000;
JSON
{
  "hex": "#335772",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 114
  },
  "hsl": {
    "h": 205.714,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44163,
    "c": 0.06103,
    "h": 242.3
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#335772
secondary
#A27C5F
accent
#8C5ACE
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335772

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

Preview Lab → · Contrast checker → · Palette generator →

#335772 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva