#336AA4#336AA4

#336AA4 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.5% C 0.109 H 251.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#336AA4
RGBrgb(51, 106, 164)
HSLhsl(211, 53%, 42%)
HSVhsv(211, 69%, 64%)
CMYKcmyk(68.9%, 35.4%, 0%, 35.7%)
CIE-LABlab(43.79, 1.35, -36.56)
CIE-LCHlch(43.79, 36.59, 272.11°)
OKLaboklab(51.51% -0.0341 -0.1038)
OKLCHoklch(51.51% 0.109 251.8)
XYZxyz(13.2176, 13.6908, 37.0608)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AA4 #A46D33
analogous
#33A3A4 #336AA4 #3433A4
triadic
#336AA4 #A4336A #6AA433
tetradic
#336AA4 #A433A3 #A46D33 #33A434
square
#336AA4 #A433A3 #A46D33 #33A434
split-complementary
#336AA4 #A43433 #A3A433
monochromatic
#162E47 #244C75 #336AA4 #4D88C8 #7BA7D6

Accessibility & contrast

On white

5.62
#336AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#336AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AA4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AA4#FFFFFF#000000##FFFFFF
##336AA41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA6
Deuteranopia (green-blind)
#4063A3
Tritanopia (blue-blind)
#00787F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336aa4;
/* rgb */ color: rgb(51, 106, 164);
/* oklch */ color: oklch(51.5% 0.109 251.8);
Tailwind
colors: {
  custom: {
    50: '#7894bf',
    500: '#336aa4',
    950: '#000000',
  },
}
SCSS
$custom: #336aa4;
$custom-light: #7894bf;
$custom-dark: #000000;
JSON
{
  "hex": "#336aa4",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 164
  },
  "hsl": {
    "h": 210.796,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.10923,
    "h": 251.8
  },
  "luminance": 0.13692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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