#335266#335266

#335266 is a dark, muted cyan. Relative luminance 0.077; OKLCH L 42.3% C 0.050 H 237.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#335266
RGBrgb(51, 82, 102)
HSLhsl(204, 33%, 30%)
HSVhsv(204, 50%, 40%)
CMYKcmyk(50%, 19.6%, 0%, 60%)
CIE-LABlab(33.34, -5.33, -15.13)
CIE-LCHlch(33.34, 16.04, 250.61°)
OKLaboklab(42.31% -0.0264 -0.042)
OKLCHoklch(42.31% 0.05 237.9)
XYZxyz(6.7800, 7.6972, 13.6962)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335266 #664733
analogous
#336660 #335266 #333966
triadic
#335266 #663352 #526633
tetradic
#335266 #603366 #664733 #396633
square
#335266 #603366 #664733 #396633
split-complementary
#335266 #663339 #666033
monochromatic
#0A1014 #1F313D #335266 #47738F #6392B1

Accessibility & contrast

On white

8.27
#335266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#335266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335266
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335266#FFFFFF#000000##FFFFFF
##3352661.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495167
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#1C5759
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #335266;
/* rgb */ color: rgb(51, 82, 102);
/* oklch */ color: oklch(42.3% 0.050 237.9);
Tailwind
colors: {
  custom: {
    50: '#6e8291',
    500: '#335266',
    950: '#000000',
  },
}
SCSS
$custom: #335266;
$custom-light: #6e8291;
$custom-dark: #000000;
JSON
{
  "hex": "#335266",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 102
  },
  "hsl": {
    "h": 203.529,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.42311,
    "c": 0.04961,
    "h": 237.9
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#335266
secondary
#97745E
accent
#885EC9
background
#F6F7F8
surface
#ECEEF0
border
#C7C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #335266

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

Preview Lab → · Contrast checker → · Palette generator →

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