#335877#335877

#335877 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.067 H 245.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#335877
RGBrgb(51, 88, 119)
HSLhsl(207, 40%, 33%)
HSVhsv(207, 57%, 47%)
CMYKcmyk(57.1%, 26.1%, 0%, 53.3%)
CIE-LABlab(36.01, -3.41, -21.61)
CIE-LCHlch(36.01, 21.88, 261.04°)
OKLaboklab(44.67% -0.0278 -0.0605)
OKLCHoklch(44.67% 0.067 245.3)
XYZxyz(8.1835, 9.0145, 18.7579)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335877 #775233
analogous
#337774 #335877 #333677
triadic
#335877 #773358 #587733
tetradic
#335877 #743377 #775233 #367733
square
#335877 #743377 #775233 #367733
split-complementary
#335877 #773336 #777433
monochromatic
#0E1921 #21384C #335877 #4578A2 #6796BE

Accessibility & contrast

On white

7.49
#335877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#335877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335877
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335877#FFFFFF#000000##FFFFFF
##3358771.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5978
Deuteranopia (green-blind)
#425276
Tritanopia (blue-blind)
#045F63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335877;
/* rgb */ color: rgb(51, 88, 119);
/* oklch */ color: oklch(44.7% 0.067 245.3);
Tailwind
colors: {
  custom: {
    50: '#70879e',
    500: '#335877',
    950: '#000000',
  },
}
SCSS
$custom: #335877;
$custom-light: #70879e;
$custom-dark: #000000;
JSON
{
  "hex": "#335877",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 207.353,
    "s": 40,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.06659,
    "h": 245.3
  },
  "luminance": 0.09015
}

Semantic roles & 50–950 ramp

primary
#335877
secondary
#A68060
accent
#8F58D0
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335877

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

Preview Lab → · Contrast checker → · Palette generator →

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