#336782#336782

#336782 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.0% C 0.070 H 233.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#336782
RGBrgb(51, 103, 130)
HSLhsl(201, 44%, 35%)
HSVhsv(201, 61%, 51%)
CMYKcmyk(60.8%, 20.8%, 0%, 49%)
CIE-LABlab(41.24, -8.78, -20.24)
CIE-LCHlch(41.24, 22.06, 246.54°)
OKLaboklab(48.97% -0.042 -0.0565)
OKLCHoklch(48.97% 0.07 233.4)
XYZxyz(10.2432, 12.0150, 22.8941)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336782 #824E33
analogous
#338275 #336782 #334082
triadic
#336782 #823367 #678233
tetradic
#336782 #753382 #824E33 #408233
square
#336782 #753382 #824E33 #408233
split-complementary
#336782 #823340 #827533
monochromatic
#11212A #224456 #336782 #448AAE #6BA6C5

Accessibility & contrast

On white

6.17
#336782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#336782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336782
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336782#FFFFFF#000000##FFFFFF
##3367821.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6683
Deuteranopia (green-blind)
#4F5E82
Tritanopia (blue-blind)
#006E70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336782;
/* rgb */ color: rgb(51, 103, 130);
/* oklch */ color: oklch(49.0% 0.070 233.4);
Tailwind
colors: {
  custom: {
    50: '#7292a6',
    500: '#336782',
    950: '#000000',
  },
}
SCSS
$custom: #336782;
$custom-light: #7292a6;
$custom-dark: #000000;
JSON
{
  "hex": "#336782",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 130
  },
  "hsl": {
    "h": 200.506,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4897,
    "c": 0.07042,
    "h": 233.4
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#336782
secondary
#AD7D64
accent
#8054D3
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D0F
muted
#7B7D7F

Preview Lab

Preview with #336782

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

Preview Lab → · Contrast checker → · Palette generator →

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