#335778#335778

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

Color values

HEX#335778
RGBrgb(51, 87, 120)
HSLhsl(209, 40%, 34%)
HSVhsv(209, 58%, 47%)
CMYKcmyk(57.5%, 27.5%, 0%, 52.9%)
CIE-LABlab(35.74, -2.44, -22.64)
CIE-LCHlch(35.74, 22.78, 263.86°)
OKLaboklab(44.47% -0.0262 -0.0635)
OKLCHoklch(44.47% 0.069 247.6)
XYZxyz(8.1624, 8.8756, 19.0487)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335778 #785433
analogous
#337876 #335778 #333478
triadic
#335778 #783357 #577833
tetradic
#335778 #763378 #785433 #347833
square
#335778 #763378 #785433 #347833
split-complementary
#335778 #783334 #787633
monochromatic
#0E1922 #21384D #335778 #4576A3 #6795BE

Accessibility & contrast

On white

7.57
#335778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335778
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335778#FFFFFF#000000##FFFFFF
##3357781.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495879
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#025F62
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335778;
/* rgb */ color: rgb(51, 87, 120);
/* oklch */ color: oklch(44.5% 0.069 247.6);
Tailwind
colors: {
  custom: {
    50: '#70869f',
    500: '#335778',
    950: '#000000',
  },
}
SCSS
$custom: #335778;
$custom-light: #70869f;
$custom-dark: #000000;
JSON
{
  "hex": "#335778",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 120
  },
  "hsl": {
    "h": 208.696,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44472,
    "c": 0.06869,
    "h": 247.6
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#335778
secondary
#A68260
accent
#9158D0
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335778

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

Preview Lab → · Contrast checker → · Palette generator →

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