#336AA9#336AA9

#336AA9 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.8% C 0.116 H 253.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#336AA9
RGBrgb(51, 106, 169)
HSLhsl(212, 54%, 43%)
HSVhsv(212, 70%, 66%)
CMYKcmyk(69.8%, 37.3%, 0%, 33.7%)
CIE-LABlab(44.05, 3.17, -39.08)
CIE-LCHlch(44.05, 39.21, 274.64°)
OKLaboklab(51.81% -0.0328 -0.1111)
OKLCHoklch(51.81% 0.116 253.6)
XYZxyz(13.6781, 13.8750, 39.4857)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AA9 #A97233
analogous
#33A5A9 #336AA9 #3733A9
triadic
#336AA9 #A9336A #6AA933
tetradic
#336AA9 #A933A5 #A97233 #33A937
square
#336AA9 #A933A5 #A97233 #33A937
split-complementary
#336AA9 #A93733 #A5A933
monochromatic
#172F4B #254D7A #336AA9 #4F88CA #7EA8D8

Accessibility & contrast

On white

5.56
#336AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#336AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AA9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AA9#FFFFFF#000000##FFFFFF
##336AA91.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAC
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336aa9;
/* rgb */ color: rgb(51, 106, 169);
/* oklch */ color: oklch(51.8% 0.116 253.6);
Tailwind
colors: {
  custom: {
    50: '#7894c3',
    500: '#336aa9',
    950: '#000000',
  },
}
SCSS
$custom: #336aa9;
$custom-light: #7894c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336aa9",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 169
  },
  "hsl": {
    "h": 212.034,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.11586,
    "h": 253.6
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#336AA9
secondary
#C19E77
accent
#994BDD
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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