#335372#335372

#335372 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.064 H 248.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#335372
RGBrgb(51, 83, 114)
HSLhsl(210, 38%, 32%)
HSVhsv(210, 55%, 45%)
CMYKcmyk(55.3%, 27.2%, 0%, 55.3%)
CIE-LABlab(34.20, -1.97, -21.32)
CIE-LCHlch(34.20, 21.41, 264.72°)
OKLaboklab(43.16% -0.0232 -0.0597)
OKLCHoklch(43.16% 0.064 248.8)
XYZxyz(7.4947, 8.1046, 17.0857)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335372 #725233
analogous
#337272 #335372 #333372
triadic
#335372 #723353 #537233
tetradic
#335372 #723372 #725233 #337233
square
#335372 #723372 #725233 #337233
split-complementary
#335372 #723333 #727233
monochromatic
#0D151D #203448 #335372 #46729C #6590BA

Accessibility & contrast

On white

8.01
#335372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#335372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335372
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335372#FFFFFF#000000##FFFFFF
##3353721.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465473
Deuteranopia (green-blind)
#3E4E71
Tritanopia (blue-blind)
#0F5A5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #335372;
/* rgb */ color: rgb(51, 83, 114);
/* oklch */ color: oklch(43.2% 0.064 248.8);
Tailwind
colors: {
  custom: {
    50: '#6f839a',
    500: '#335372',
    950: '#000000',
  },
}
SCSS
$custom: #335372;
$custom-light: #6f839a;
$custom-dark: #000000;
JSON
{
  "hex": "#335372",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 114
  },
  "hsl": {
    "h": 209.524,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43163,
    "c": 0.06406,
    "h": 248.8
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#335372
secondary
#A2805F
accent
#935ACE
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335372

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

Preview Lab → · Contrast checker → · Palette generator →

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