#335A76#335A76

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

Color values

HEX#335A76
RGBrgb(51, 90, 118)
HSLhsl(205, 40%, 33%)
HSVhsv(205, 57%, 46%)
CMYKcmyk(56.8%, 23.7%, 0%, 53.7%)
CIE-LABlab(36.60, -4.98, -20.08)
CIE-LCHlch(36.60, 20.69, 256.07°)
OKLaboklab(45.12% -0.0307 -0.0561)
OKLCHoklch(45.12% 0.064 241.3)
XYZxyz(8.2902, 9.3234, 18.4988)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A76 #764F33
analogous
#337670 #335A76 #333876
triadic
#335A76 #76335A #5A7633
tetradic
#335A76 #703376 #764F33 #387633
square
#335A76 #703376 #764F33 #387633
split-complementary
#335A76 #763338 #767033
monochromatic
#0E1921 #21394B #335A76 #457BA1 #6699BD

Accessibility & contrast

On white

7.33
#335A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335A76
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A76#FFFFFF#000000##FFFFFF
##335A761.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5A77
Deuteranopia (green-blind)
#455376
Tritanopia (blue-blind)
#046163
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335a76;
/* rgb */ color: rgb(51, 90, 118);
/* oklch */ color: oklch(45.1% 0.064 241.3);
Tailwind
colors: {
  custom: {
    50: '#70889d',
    500: '#335a76',
    950: '#000000',
  },
}
SCSS
$custom: #335a76;
$custom-light: #70889d;
$custom-dark: #000000;
JSON
{
  "hex": "#335a76",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 118
  },
  "hsl": {
    "h": 205.075,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.06395,
    "h": 241.3
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#335A76
secondary
#A57D60
accent
#8A58D0
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335A76

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

Preview Lab → · Contrast checker → · Palette generator →

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