#336582#336582

#336582 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.5% C 0.071 H 236.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#336582
RGBrgb(51, 101, 130)
HSLhsl(202, 44%, 35%)
HSVhsv(202, 61%, 51%)
CMYKcmyk(60.8%, 22.3%, 0%, 49%)
CIE-LABlab(40.61, -7.59, -21.21)
CIE-LCHlch(40.61, 22.53, 250.30°)
OKLaboklab(48.47% -0.0396 -0.0593)
OKLCHoklch(48.47% 0.071 236.2)
XYZxyz(10.0467, 11.6219, 22.8286)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336582 #825033
analogous
#338277 #336582 #333E82
triadic
#336582 #823365 #658233
tetradic
#336582 #773382 #825033 #3E8233
square
#336582 #773382 #825033 #3E8233
split-complementary
#336582 #82333E #827733
monochromatic
#11212A #224356 #336582 #4487AE #6BA4C5

Accessibility & contrast

On white

6.32
#336582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#336582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336582
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336582#FFFFFF#000000##FFFFFF
##3365821.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576483
Deuteranopia (green-blind)
#4D5C82
Tritanopia (blue-blind)
#006D6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336582;
/* rgb */ color: rgb(51, 101, 130);
/* oklch */ color: oklch(48.5% 0.071 236.2);
Tailwind
colors: {
  custom: {
    50: '#7290a6',
    500: '#336582',
    950: '#000000',
  },
}
SCSS
$custom: #336582;
$custom-light: #7290a6;
$custom-dark: #000000;
JSON
{
  "hex": "#336582",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 130
  },
  "hsl": {
    "h": 202.025,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48468,
    "c": 0.07135,
    "h": 236.2
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#336582
secondary
#AD7F64
accent
#8354D3
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #336582

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

Preview Lab → · Contrast checker → · Palette generator →

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