#335774#335774

#335774 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.064 H 244.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#335774
RGBrgb(51, 87, 116)
HSLhsl(207, 39%, 33%)
HSVhsv(207, 56%, 45%)
CMYKcmyk(56%, 25%, 0%, 54.5%)
CIE-LABlab(35.56, -3.80, -20.46)
CIE-LCHlch(35.56, 20.81, 259.48°)
OKLaboklab(44.26% -0.0276 -0.0572)
OKLCHoklch(44.26% 0.064 244.2)
XYZxyz(7.9247, 8.7805, 17.7968)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335774 #745033
analogous
#337470 #335774 #333774
triadic
#335774 #743357 #577433
tetradic
#335774 #703374 #745033 #377433
square
#335774 #703374 #745033 #377433
split-complementary
#335774 #743337 #747033
monochromatic
#0E171F #203749 #335774 #46779F #6695BC

Accessibility & contrast

On white

7.62
#335774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#335774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335774
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335774#FFFFFF#000000##FFFFFF
##3357741.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5775
Deuteranopia (green-blind)
#425173
Tritanopia (blue-blind)
#0A5E61
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335774;
/* rgb */ color: rgb(51, 87, 116);
/* oklch */ color: oklch(44.3% 0.064 244.2);
Tailwind
colors: {
  custom: {
    50: '#70869c',
    500: '#335774',
    950: '#000000',
  },
}
SCSS
$custom: #335774;
$custom-light: #70869c;
$custom-dark: #000000;
JSON
{
  "hex": "#335774",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 116
  },
  "hsl": {
    "h": 206.769,
    "s": 38.922,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.06352,
    "h": 244.2
  },
  "luminance": 0.08781
}

Semantic roles & 50–950 ramp

primary
#335774
secondary
#A47E5F
accent
#8E59CF
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #335774

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

Preview Lab → · Contrast checker → · Palette generator →

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