#335F76#335F76

#335F76 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.061 H 233.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#335F76
RGBrgb(51, 95, 118)
HSLhsl(201, 40%, 33%)
HSVhsv(201, 57%, 46%)
CMYKcmyk(56.8%, 19.5%, 0%, 53.7%)
CIE-LABlab(38.19, -8.02, -17.63)
CIE-LCHlch(38.19, 19.37, 245.53°)
OKLaboklab(46.38% -0.0369 -0.0491)
OKLCHoklch(46.38% 0.061 233)
XYZxyz(8.7262, 10.1955, 18.6441)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F76 #764A33
analogous
#33766B #335F76 #333D76
triadic
#335F76 #76335F #5F7633
tetradic
#335F76 #6B3376 #764A33 #3D7633
square
#335F76 #6B3376 #764A33 #3D7633
split-complementary
#335F76 #76333D #766B33
monochromatic
#0E1A21 #213D4B #335F76 #4581A1 #669FBD

Accessibility & contrast

On white

6.91
#335F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#335F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335F76
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F76#FFFFFF#000000##FFFFFF
##335F761.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545E77
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#016567
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335f76;
/* rgb */ color: rgb(51, 95, 118);
/* oklch */ color: oklch(46.4% 0.061 233.0);
Tailwind
colors: {
  custom: {
    50: '#708c9d',
    500: '#335f76',
    950: '#000000',
  },
}
SCSS
$custom: #335f76;
$custom-light: #708c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#335f76",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 118
  },
  "hsl": {
    "h": 200.597,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46379,
    "c": 0.06144,
    "h": 233
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#335F76
secondary
#A57860
accent
#8158D0
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #335F76

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

Preview Lab → · Contrast checker → · Palette generator →

#335F76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva