#336399#336399

#336399 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 49.2% C 0.102 H 252.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#336399
RGBrgb(51, 99, 153)
HSLhsl(212, 50%, 40%)
HSVhsv(212, 67%, 60%)
CMYKcmyk(66.7%, 35.3%, 0%, 40%)
CIE-LABlab(41.10, 1.72, -34.28)
CIE-LCHlch(41.10, 34.32, 272.87°)
OKLaboklab(49.22% -0.0298 -0.0972)
OKLCHoklch(49.22% 0.102 252.9)
XYZxyz(11.5747, 11.9262, 31.8228)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336399 #996933
analogous
#339699 #336399 #363399
triadic
#336399 #993363 #639933
tetradic
#336399 #993396 #996933 #339936
square
#336399 #993396 #996933 #339936
split-complementary
#336399 #993633 #969933
monochromatic
#14283D #24456B #336399 #4781C2 #75A0D1

Accessibility & contrast

On white

6.20
#336399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#336399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336399
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336399#FFFFFF#000000##FFFFFF
##3363991.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#3D5D98
Tritanopia (blue-blind)
#007077
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336399;
/* rgb */ color: rgb(51, 99, 153);
/* oklch */ color: oklch(49.2% 0.102 252.9);
Tailwind
colors: {
  custom: {
    50: '#768fb7',
    500: '#336399',
    950: '#000000',
  },
}
SCSS
$custom: #336399;
$custom-light: #768fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#336399",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 153
  },
  "hsl": {
    "h": 211.765,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.10165,
    "h": 252.9
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#336399
secondary
#B9966E
accent
#984EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336399

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

Preview Lab → · Contrast checker → · Palette generator →

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