#335682#335682

#335682 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.083 H 254.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#335682
RGBrgb(51, 86, 130)
HSLhsl(213, 44%, 35%)
HSVhsv(213, 61%, 51%)
CMYKcmyk(60.8%, 33.8%, 0%, 49%)
CIE-LABlab(35.93, 1.69, -28.51)
CIE-LCHlch(35.93, 28.56, 273.40°)
OKLaboklab(44.78% -0.0217 -0.0805)
OKLCHoklch(44.78% 0.083 254.9)
XYZxyz(8.7209, 8.9703, 22.3866)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335682 #825F33
analogous
#337D82 #335682 #383382
triadic
#335682 #823356 #568233
tetradic
#335682 #82337D #825F33 #338238
square
#335682 #82337D #825F33 #338238
split-complementary
#335682 #823833 #7D8233
monochromatic
#111C2A #223956 #335682 #4473AE #6B93C5

Accessibility & contrast

On white

7.52
#335682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#335682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335682
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335682#FFFFFF#000000##FFFFFF
##3356821.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445984
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335682;
/* rgb */ color: rgb(51, 86, 130);
/* oklch */ color: oklch(44.8% 0.083 254.9);
Tailwind
colors: {
  custom: {
    50: '#7285a6',
    500: '#335682',
    950: '#000000',
  },
}
SCSS
$custom: #335682;
$custom-light: #7285a6;
$custom-dark: #000000;
JSON
{
  "hex": "#335682",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 213.418,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.08339,
    "h": 254.9
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#335682
secondary
#AD8D64
accent
#9B54D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335682

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

Preview Lab → · Contrast checker → · Palette generator →

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