#336382#336382

#336382 is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.0% C 0.072 H 239.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#336382
RGBrgb(51, 99, 130)
HSLhsl(204, 44%, 35%)
HSVhsv(204, 61%, 51%)
CMYKcmyk(60.8%, 23.8%, 0%, 49%)
CIE-LABlab(39.98, -6.39, -22.19)
CIE-LCHlch(39.98, 23.09, 253.92°)
OKLaboklab(47.97% -0.0372 -0.0621)
OKLCHoklch(47.97% 0.072 239.1)
XYZxyz(9.8548, 11.2383, 22.7646)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336382 #825233
analogous
#338279 #336382 #333C82
triadic
#336382 #823363 #638233
tetradic
#336382 #793382 #825233 #3C8233
square
#336382 #793382 #825233 #3C8233
split-complementary
#336382 #82333C #827933
monochromatic
#11202A #224256 #336382 #4484AE #6BA1C5

Accessibility & contrast

On white

6.47
#336382 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#336382 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336382
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336382#FFFFFF#000000##FFFFFF
##3363821.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556383
Deuteranopia (green-blind)
#4A5B81
Tritanopia (blue-blind)
#006B6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336382;
/* rgb */ color: rgb(51, 99, 130);
/* oklch */ color: oklch(48.0% 0.072 239.1);
Tailwind
colors: {
  custom: {
    50: '#728fa6',
    500: '#336382',
    950: '#000000',
  },
}
SCSS
$custom: #336382;
$custom-light: #728fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#336382",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 130
  },
  "hsl": {
    "h": 203.544,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47969,
    "c": 0.07244,
    "h": 239.1
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#336382
secondary
#AD8164
accent
#8654D3
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #336382

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

Preview Lab → · Contrast checker → · Palette generator →

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