#335166#335166

#335166 is a dark, muted cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.050 H 240.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#335166
RGBrgb(51, 81, 102)
HSLhsl(205, 33%, 30%)
HSVhsv(205, 50%, 40%)
CMYKcmyk(50%, 20.6%, 0%, 60%)
CIE-LABlab(33.02, -4.70, -15.63)
CIE-LCHlch(33.02, 16.32, 253.25°)
OKLaboklab(42.06% -0.025 -0.0434)
OKLCHoklch(42.06% 0.05 240)
XYZxyz(6.7051, 7.5475, 13.6713)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335166 #664833
analogous
#336661 #335166 #333866
triadic
#335166 #663351 #516633
tetradic
#335166 #613366 #664833 #386633
square
#335166 #613366 #664833 #386633
split-complementary
#335166 #663338 #666133
monochromatic
#0A1014 #1F313D #335166 #47718F #6391B1

Accessibility & contrast

On white

8.37
#335166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#335166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335166
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335166#FFFFFF#000000##FFFFFF
##3351661.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485167
Deuteranopia (green-blind)
#414B66
Tritanopia (blue-blind)
#1C5658
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #335166;
/* rgb */ color: rgb(51, 81, 102);
/* oklch */ color: oklch(42.1% 0.050 240.0);
Tailwind
colors: {
  custom: {
    50: '#6e8191',
    500: '#335166',
    950: '#000000',
  },
}
SCSS
$custom: #335166;
$custom-light: #6e8191;
$custom-dark: #000000;
JSON
{
  "hex": "#335166",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 204.706,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.05011,
    "h": 240
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#335166
secondary
#97755E
accent
#8A5EC9
background
#F6F7F8
surface
#ECEEF0
border
#C7C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #335166

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

Preview Lab → · Contrast checker → · Palette generator →

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