#335B76#335B76

#335B76 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.4% C 0.063 H 239.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#335B76
RGBrgb(51, 91, 118)
HSLhsl(204, 40%, 33%)
HSVhsv(204, 57%, 46%)
CMYKcmyk(56.8%, 22.9%, 0%, 53.7%)
CIE-LABlab(36.92, -5.60, -19.59)
CIE-LCHlch(36.92, 20.37, 254.06°)
OKLaboklab(45.37% -0.0319 -0.0547)
OKLCHoklch(45.37% 0.063 239.7)
XYZxyz(8.3751, 9.4933, 18.5271)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B76 #764E33
analogous
#33766F #335B76 #333976
triadic
#335B76 #76335B #5B7633
tetradic
#335B76 #6F3376 #764E33 #397633
square
#335B76 #6F3376 #764E33 #397633
split-complementary
#335B76 #763339 #766F33
monochromatic
#0E1921 #213A4B #335B76 #457CA1 #669ABD

Accessibility & contrast

On white

7.24
#335B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#335B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B76
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B76#FFFFFF#000000##FFFFFF
##335B761.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5B77
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#046264
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335b76;
/* rgb */ color: rgb(51, 91, 118);
/* oklch */ color: oklch(45.4% 0.063 239.7);
Tailwind
colors: {
  custom: {
    50: '#70899d',
    500: '#335b76',
    950: '#000000',
  },
}
SCSS
$custom: #335b76;
$custom-light: #70899d;
$custom-dark: #000000;
JSON
{
  "hex": "#335b76",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 118
  },
  "hsl": {
    "h": 204.179,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45368,
    "c": 0.06335,
    "h": 239.7
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#335B76
secondary
#A57C60
accent
#8858D0
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335B76

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

Preview Lab → · Contrast checker → · Palette generator →

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