#336AA6#336AA6

#336AA6 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.6% C 0.112 H 252.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#336AA6
RGBrgb(51, 106, 166)
HSLhsl(211, 53%, 43%)
HSVhsv(211, 69%, 65%)
CMYKcmyk(69.3%, 36.1%, 0%, 34.9%)
CIE-LABlab(43.89, 2.07, -37.57)
CIE-LCHlch(43.89, 37.63, 273.16°)
OKLaboklab(51.63% -0.0336 -0.1067)
OKLCHoklch(51.63% 0.112 252.5)
XYZxyz(13.3997, 13.7636, 38.0195)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AA6 #A66F33
analogous
#33A4A6 #336AA6 #3533A6
triadic
#336AA6 #A6336A #6AA633
tetradic
#336AA6 #A633A4 #A66F33 #33A635
square
#336AA6 #A633A4 #A66F33 #33A635
split-complementary
#336AA6 #A63533 #A4A633
monochromatic
#162E48 #254C77 #336AA6 #4E88C9 #7CA8D7

Accessibility & contrast

On white

5.60
#336AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#336AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AA6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AA6#FFFFFF#000000##FFFFFF
##336AA61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EA8
Deuteranopia (green-blind)
#3F63A5
Tritanopia (blue-blind)
#007880
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336aa6;
/* rgb */ color: rgb(51, 106, 166);
/* oklch */ color: oklch(51.6% 0.112 252.5);
Tailwind
colors: {
  custom: {
    50: '#7894c1',
    500: '#336aa6',
    950: '#000000',
  },
}
SCSS
$custom: #336aa6;
$custom-light: #7894c1;
$custom-dark: #000000;
JSON
{
  "hex": "#336aa6",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 166
  },
  "hsl": {
    "h": 211.304,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.11188,
    "h": 252.5
  },
  "luminance": 0.13765
}

Semantic roles & 50–950 ramp

primary
#336AA6
secondary
#C09C75
accent
#974BDC
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336AA6

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

Preview Lab → · Contrast checker → · Palette generator →

#336AA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva