#336AA5#336AA5

#336AA5 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.6% C 0.111 H 252.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#336AA5
RGBrgb(51, 106, 165)
HSLhsl(211, 53%, 42%)
HSVhsv(211, 69%, 65%)
CMYKcmyk(69.1%, 35.8%, 0%, 35.3%)
CIE-LABlab(43.84, 1.71, -37.07)
CIE-LCHlch(43.84, 37.11, 272.64°)
OKLaboklab(51.57% -0.0338 -0.1052)
OKLCHoklch(51.57% 0.111 252.2)
XYZxyz(13.3083, 13.7271, 37.5382)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AA5 #A56E33
analogous
#33A3A5 #336AA5 #3533A5
triadic
#336AA5 #A5336A #6AA533
tetradic
#336AA5 #A533A3 #A56E33 #33A535
square
#336AA5 #A533A3 #A56E33 #33A535
split-complementary
#336AA5 #A53533 #A3A533
monochromatic
#162E48 #254C76 #336AA5 #4D88C8 #7CA8D6

Accessibility & contrast

On white

5.61
#336AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336AA5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AA5#FFFFFF#000000##FFFFFF
##336AA51.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506EA7
Deuteranopia (green-blind)
#3F63A4
Tritanopia (blue-blind)
#007880
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336aa5;
/* rgb */ color: rgb(51, 106, 165);
/* oklch */ color: oklch(51.6% 0.111 252.2);
Tailwind
colors: {
  custom: {
    50: '#7894c0',
    500: '#336aa5',
    950: '#000000',
  },
}
SCSS
$custom: #336aa5;
$custom-light: #7894c0;
$custom-dark: #000000;
JSON
{
  "hex": "#336aa5",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 165
  },
  "hsl": {
    "h": 211.053,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.11055,
    "h": 252.2
  },
  "luminance": 0.13728
}

Semantic roles & 50–950 ramp

primary
#336AA5
secondary
#BF9B75
accent
#964CDC
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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