#335A75#335A75

#335A75 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.063 H 240.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#335A75
RGBrgb(51, 90, 117)
HSLhsl(205, 39%, 33%)
HSVhsv(205, 56%, 46%)
CMYKcmyk(56.4%, 23.1%, 0%, 54.1%)
CIE-LABlab(36.56, -5.32, -19.53)
CIE-LCHlch(36.56, 20.24, 254.77°)
OKLaboklab(45.07% -0.031 -0.0545)
OKLCHoklch(45.07% 0.063 240.4)
XYZxyz(8.2311, 9.2998, 18.1875)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A75 #754E33
analogous
#33756F #335A75 #333975
triadic
#335A75 #75335A #5A7533
tetradic
#335A75 #6F3375 #754E33 #397533
square
#335A75 #6F3375 #754E33 #397533
split-complementary
#335A75 #753339 #756F33
monochromatic
#0E1820 #20394A #335A75 #467BA0 #6699BC

Accessibility & contrast

On white

7.34
#335A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#335A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335A75
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A75#FFFFFF#000000##FFFFFF
##335A751.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5A76
Deuteranopia (green-blind)
#455375
Tritanopia (blue-blind)
#066163
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335a75;
/* rgb */ color: rgb(51, 90, 117);
/* oklch */ color: oklch(45.1% 0.063 240.4);
Tailwind
colors: {
  custom: {
    50: '#70889d',
    500: '#335a75',
    950: '#000000',
  },
}
SCSS
$custom: #335a75;
$custom-light: #70889d;
$custom-dark: #000000;
JSON
{
  "hex": "#335a75",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 117
  },
  "hsl": {
    "h": 204.545,
    "s": 39.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45067,
    "c": 0.06277,
    "h": 240.4
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#335A75
secondary
#A47C5F
accent
#8959CF
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335A75

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

Preview Lab → · Contrast checker → · Palette generator →

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