#335684#335684

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

Color values

HEX#335684
RGBrgb(51, 86, 132)
HSLhsl(214, 44%, 36%)
HSVhsv(214, 61%, 52%)
CMYKcmyk(61.4%, 34.8%, 0%, 48.2%)
CIE-LABlab(36.03, 2.40, -29.58)
CIE-LCHlch(36.03, 29.67, 274.65°)
OKLaboklab(44.89% -0.0212 -0.0836)
OKLCHoklch(44.89% 0.086 255.8)
XYZxyz(8.8564, 9.0245, 23.1005)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335684 #846133
analogous
#337E84 #335684 #383384
triadic
#335684 #843356 #568433
tetradic
#335684 #84337E #846133 #338438
square
#335684 #84337E #846133 #338438
split-complementary
#335684 #843833 #7E8433
monochromatic
#111C2C #223958 #335684 #4473B0 #6B93C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335684#FFFFFF#000000##FFFFFF
##3356841.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435986
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335684;
/* rgb */ color: rgb(51, 86, 132);
/* oklch */ color: oklch(44.9% 0.086 255.8);
Tailwind
colors: {
  custom: {
    50: '#7285a8',
    500: '#335684',
    950: '#000000',
  },
}
SCSS
$custom: #335684;
$custom-light: #7285a8;
$custom-dark: #000000;
JSON
{
  "hex": "#335684",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 214.074,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.08625,
    "h": 255.8
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#335684
secondary
#AE8E65
accent
#9D54D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335684

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

Preview Lab → · Contrast checker → · Palette generator →

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