#335D78#335D78

#335D78 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.0% C 0.065 H 238.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#335D78
RGBrgb(51, 93, 120)
HSLhsl(203, 40%, 34%)
HSVhsv(203, 58%, 47%)
CMYKcmyk(57.5%, 22.5%, 0%, 52.9%)
CIE-LABlab(37.64, -6.14, -19.70)
CIE-LCHlch(37.64, 20.64, 252.68°)
OKLaboklab(45.97% -0.0337 -0.055)
OKLCHoklch(45.97% 0.065 238.5)
XYZxyz(8.6685, 9.8878, 19.2174)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D78 #784E33
analogous
#337870 #335D78 #333A78
triadic
#335D78 #78335D #5D7833
tetradic
#335D78 #703378 #784E33 #3A7833
square
#335D78 #703378 #784E33 #3A7833
split-complementary
#335D78 #78333A #787033
monochromatic
#0E1A22 #213C4D #335D78 #457EA3 #679CBE

Accessibility & contrast

On white

7.05
#335D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#335D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D78
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D78#FFFFFF#000000##FFFFFF
##335D781.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D79
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#006466
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335d78;
/* rgb */ color: rgb(51, 93, 120);
/* oklch */ color: oklch(46.0% 0.065 238.5);
Tailwind
colors: {
  custom: {
    50: '#708a9f',
    500: '#335d78',
    950: '#000000',
  },
}
SCSS
$custom: #335d78;
$custom-light: #708a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#335d78",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 120
  },
  "hsl": {
    "h": 203.478,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.06451,
    "h": 238.5
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#335D78
secondary
#A67C60
accent
#8758D0
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335D78

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

Preview Lab → · Contrast checker → · Palette generator →

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