#335685#335685

#335685 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 45.0% C 0.088 H 256.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#335685
RGBrgb(51, 86, 133)
HSLhsl(214, 45%, 36%)
HSVhsv(214, 62%, 52%)
CMYKcmyk(61.7%, 35.3%, 0%, 47.8%)
CIE-LABlab(36.08, 2.76, -30.10)
CIE-LCHlch(36.08, 30.23, 275.24°)
OKLaboklab(44.95% -0.0209 -0.0851)
OKLCHoklch(44.95% 0.088 256.2)
XYZxyz(8.9252, 9.0520, 23.4626)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335685 #856233
analogous
#337F85 #335685 #393385
triadic
#335685 #853356 #568533
tetradic
#335685 #85337F #856233 #338539
square
#335685 #85337F #856233 #338539
split-complementary
#335685 #853933 #7F8533
monochromatic
#111D2D #223959 #335685 #4473B1 #6C93C7

Accessibility & contrast

On white

7.47
#335685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#335685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335685
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335685#FFFFFF#000000##FFFFFF
##3356851.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425987
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335685;
/* rgb */ color: rgb(51, 86, 133);
/* oklch */ color: oklch(45.0% 0.088 256.2);
Tailwind
colors: {
  custom: {
    50: '#7285a9',
    500: '#335685',
    950: '#000000',
  },
}
SCSS
$custom: #335685;
$custom-light: #7285a9;
$custom-dark: #000000;
JSON
{
  "hex": "#335685",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 133
  },
  "hsl": {
    "h": 214.39,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.08767,
    "h": 256.2
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#335685
secondary
#AE8F65
accent
#9D54D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #335685

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

Preview Lab → · Contrast checker → · Palette generator →

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