#335671#335671

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

Color values

HEX#335671
RGBrgb(51, 86, 113)
HSLhsl(206, 38%, 32%)
HSVhsv(206, 55%, 44%)
CMYKcmyk(54.9%, 23.9%, 0%, 55.7%)
CIE-LABlab(35.10, -4.19, -19.30)
CIE-LCHlch(35.10, 19.75, 257.75°)
OKLaboklab(43.86% -0.0274 -0.0539)
OKLCHoklch(43.86% 0.06 243)
XYZxyz(7.6726, 8.5510, 16.8658)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335671 #714E33
analogous
#33716D #335671 #333771
triadic
#335671 #713356 #567133
tetradic
#335671 #6D3371 #714E33 #377133
square
#335671 #6D3371 #714E33 #377133
split-complementary
#335671 #713337 #716D33
monochromatic
#0D161D #203647 #335671 #46769B #6595B9

Accessibility & contrast

On white

7.75
#335671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335671
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335671#FFFFFF#000000##FFFFFF
##3356711.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335671;
/* rgb */ color: rgb(51, 86, 113);
/* oklch */ color: oklch(43.9% 0.060 243.0);
Tailwind
colors: {
  custom: {
    50: '#6f859a',
    500: '#335671',
    950: '#000000',
  },
}
SCSS
$custom: #335671;
$custom-light: #6f859a;
$custom-dark: #000000;
JSON
{
  "hex": "#335671",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 113
  },
  "hsl": {
    "h": 206.129,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.06046,
    "h": 243
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335671

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

Preview Lab → · Contrast checker → · Palette generator →

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