#335A79#335A79

#335A79 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.3% C 0.068 H 244.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#335A79
RGBrgb(51, 90, 121)
HSLhsl(207, 41%, 34%)
HSVhsv(207, 58%, 47%)
CMYKcmyk(57.9%, 25.6%, 0%, 52.5%)
CIE-LABlab(36.74, -3.96, -21.72)
CIE-LCHlch(36.74, 22.08, 259.65°)
OKLaboklab(45.27% -0.0296 -0.0608)
OKLCHoklch(45.27% 0.068 244.1)
XYZxyz(8.4713, 9.3959, 19.4526)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A79 #795233
analogous
#337975 #335A79 #333779
triadic
#335A79 #79335A #5A7933
tetradic
#335A79 #753379 #795233 #377933
square
#335A79 #753379 #795233 #377933
split-complementary
#335A79 #793337 #797533
monochromatic
#0F1A23 #213A4E #335A79 #457AA4 #6798BF

Accessibility & contrast

On white

7.29
#335A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#335A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335A79
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A79#FFFFFF#000000##FFFFFF
##335A791.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5A7A
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335a79;
/* rgb */ color: rgb(51, 90, 121);
/* oklch */ color: oklch(45.3% 0.068 244.1);
Tailwind
colors: {
  custom: {
    50: '#7088a0',
    500: '#335a79',
    950: '#000000',
  },
}
SCSS
$custom: #335a79;
$custom-light: #7088a0;
$custom-dark: #000000;
JSON
{
  "hex": "#335a79",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 121
  },
  "hsl": {
    "h": 206.571,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.06763,
    "h": 244.1
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#335A79
secondary
#A78061
accent
#8D57D1
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335A79

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

Preview Lab → · Contrast checker → · Palette generator →

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