#335366#335366

#335366 is a dark, muted cyan. Relative luminance 0.079; OKLCH L 42.6% C 0.049 H 235.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#335366
RGBrgb(51, 83, 102)
HSLhsl(202, 33%, 30%)
HSVhsv(202, 50%, 40%)
CMYKcmyk(50%, 18.6%, 0%, 60%)
CIE-LABlab(33.67, -5.95, -14.64)
CIE-LCHlch(33.67, 15.80, 247.90°)
OKLaboklab(42.57% -0.0277 -0.0406)
OKLCHoklch(42.57% 0.049 235.6)
XYZxyz(6.8559, 7.8491, 13.7216)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335366 #664633
analogous
#33665F #335366 #333A66
triadic
#335366 #663353 #536633
tetradic
#335366 #5F3366 #664633 #3A6633
square
#335366 #5F3366 #664633 #3A6633
split-complementary
#335366 #66333A #665F33
monochromatic
#0A1114 #1F323D #335366 #47748F #6394B1

Accessibility & contrast

On white

8.17
#335366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#335366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335366
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335366#FFFFFF#000000##FFFFFF
##3353661.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5267
Deuteranopia (green-blind)
#434D66
Tritanopia (blue-blind)
#1B5859
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335366;
/* rgb */ color: rgb(51, 83, 102);
/* oklch */ color: oklch(42.6% 0.049 235.6);
Tailwind
colors: {
  custom: {
    50: '#6e8391',
    500: '#335366',
    950: '#000000',
  },
}
SCSS
$custom: #335366;
$custom-light: #6e8391;
$custom-dark: #000000;
JSON
{
  "hex": "#335366",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 102
  },
  "hsl": {
    "h": 202.353,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.42566,
    "c": 0.04918,
    "h": 235.6
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#335366
secondary
#97735E
accent
#865EC9
background
#F6F8F8
surface
#ECEFF0
border
#C7CACB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #335366

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

Preview Lab → · Contrast checker → · Palette generator →

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