#336699#336699

#336699 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.9% C 0.099 H 250.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#336699
RGBrgb(51, 102, 153)
HSLhsl(210, 50%, 40%)
HSVhsv(210, 67%, 60%)
CMYKcmyk(66.7%, 33.3%, 0%, 40%)
CIE-LABlab(42.01, -0.15, -32.85)
CIE-LCHlch(42.01, 32.85, 269.74°)
OKLaboklab(49.93% -0.033 -0.093)
OKLCHoklch(49.93% 0.099 250.4)
XYZxyz(11.8643, 12.5053, 31.9193)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336699 #996633
analogous
#339999 #336699 #333399
triadic
#336699 #993366 #669933
tetradic
#336699 #993399 #996633 #339933
square
#336699 #993399 #996633 #339933
split-complementary
#336699 #993333 #999933
monochromatic
#14293D #24476B #336699 #4785C2 #75A3D1

Accessibility & contrast

On white

6.00
#336699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#336699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336699
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336699#FFFFFF#000000##FFFFFF
##3366991.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50699B
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336699;
/* rgb */ color: rgb(51, 102, 153);
/* oklch */ color: oklch(49.9% 0.099 250.4);
Tailwind
colors: {
  custom: {
    50: '#7691b7',
    500: '#336699',
    950: '#000000',
  },
}
SCSS
$custom: #336699;
$custom-light: #7691b7;
$custom-dark: #000000;
JSON
{
  "hex": "#336699",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 153
  },
  "hsl": {
    "h": 210,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.09867,
    "h": 250.4
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#336699
secondary
#B9946E
accent
#944EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336699

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

Preview Lab → · Contrast checker → · Palette generator →

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