#335672#335672

#335672 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.062 H 244.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#335672
RGBrgb(51, 86, 114)
HSLhsl(207, 38%, 32%)
HSVhsv(207, 55%, 45%)
CMYKcmyk(55.3%, 24.6%, 0%, 55.3%)
CIE-LABlab(35.15, -3.85, -19.85)
CIE-LCHlch(35.15, 20.22, 259.01°)
OKLaboklab(43.91% -0.0271 -0.0555)
OKLCHoklch(43.91% 0.062 244)
XYZxyz(7.7292, 8.5737, 17.1639)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335672 #724F33
analogous
#33726F #335672 #333672
triadic
#335672 #723356 #567233
tetradic
#335672 #6F3372 #724F33 #367233
square
#335672 #6F3372 #724F33 #367233
split-complementary
#335672 #723336 #726F33
monochromatic
#0D161D #203648 #335672 #46769C #6594BA

Accessibility & contrast

On white

7.74
#335672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#335672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335672
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335672#FFFFFF#000000##FFFFFF
##3356721.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#0E5D5F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335672;
/* rgb */ color: rgb(51, 86, 114);
/* oklch */ color: oklch(43.9% 0.062 244.0);
Tailwind
colors: {
  custom: {
    50: '#6f859a',
    500: '#335672',
    950: '#000000',
  },
}
SCSS
$custom: #335672;
$custom-light: #6f859a;
$custom-dark: #000000;
JSON
{
  "hex": "#335672",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 114
  },
  "hsl": {
    "h": 206.667,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.06171,
    "h": 244
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#335672
secondary
#A27D5F
accent
#8D5ACE
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335672

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

Preview Lab → · Contrast checker → · Palette generator →

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