#336DAE#336DAE

#336DAE is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.8% C 0.119 H 253.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#336DAE
RGBrgb(51, 109, 174)
HSLhsl(212, 55%, 44%)
HSVhsv(212, 71%, 68%)
CMYKcmyk(70.7%, 37.4%, 0%, 31.8%)
CIE-LABlab(45.21, 3.13, -40.17)
CIE-LCHlch(45.21, 40.30, 274.46°)
OKLaboklab(52.8% -0.0345 -0.1143)
OKLCHoklch(52.8% 0.119 253.2)
XYZxyz(14.4710, 14.6955, 42.1101)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DAE #AE7433
analogous
#33ABAE #336DAE #3633AE
triadic
#336DAE #AE336D #6DAE33
tetradic
#336DAE #AE33AB #AE7433 #33AE36
square
#336DAE #AE33AB #AE7433 #33AE36
split-complementary
#336DAE #AE3633 #ABAE33
monochromatic
#17324F #254F7F #336DAE #528CCC #81ABDA

Accessibility & contrast

On white

5.33
#336DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#336DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DAE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DAE#FFFFFF#000000##FFFFFF
##336DAE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5071B1
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336dae;
/* rgb */ color: rgb(51, 109, 174);
/* oklch */ color: oklch(52.8% 0.119 253.2);
Tailwind
colors: {
  custom: {
    50: '#7996c6',
    500: '#336dae',
    950: '#000000',
  },
}
SCSS
$custom: #336dae;
$custom-light: #7996c6;
$custom-dark: #000000;
JSON
{
  "hex": "#336dae",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 174
  },
  "hsl": {
    "h": 211.707,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52804,
    "c": 0.11937,
    "h": 253.2
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#336DAE
secondary
#C3A179
accent
#984ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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