#335779#335779

#335779 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.070 H 248.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#335779
RGBrgb(51, 87, 121)
HSLhsl(209, 41%, 34%)
HSVhsv(209, 58%, 47%)
CMYKcmyk(57.9%, 28.1%, 0%, 52.5%)
CIE-LABlab(35.79, -2.09, -23.19)
CIE-LCHlch(35.79, 23.28, 264.84°)
OKLaboklab(44.53% -0.0258 -0.0651)
OKLCHoklch(44.53% 0.07 248.3)
XYZxyz(8.2234, 8.9000, 19.3700)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335779 #795533
analogous
#337978 #335779 #333479
triadic
#335779 #793357 #577933
tetradic
#335779 #783379 #795533 #347933
square
#335779 #783379 #795533 #347933
split-complementary
#335779 #793334 #797833
monochromatic
#0F1923 #21384E #335779 #4576A4 #6794BF

Accessibility & contrast

On white

7.55
#335779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#335779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335779
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335779#FFFFFF#000000##FFFFFF
##3357791.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#405178
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335779;
/* rgb */ color: rgb(51, 87, 121);
/* oklch */ color: oklch(44.5% 0.070 248.3);
Tailwind
colors: {
  custom: {
    50: '#7086a0',
    500: '#335779',
    950: '#000000',
  },
}
SCSS
$custom: #335779;
$custom-light: #7086a0;
$custom-dark: #000000;
JSON
{
  "hex": "#335779",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 209.143,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.07001,
    "h": 248.3
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#335779
secondary
#A78361
accent
#9257D1
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335779

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

Preview Lab → · Contrast checker → · Palette generator →

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