#336FAD#336FAD

#336FAD is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.2% C 0.116 H 251.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#336FAD
RGBrgb(51, 111, 173)
HSLhsl(210, 54%, 44%)
HSVhsv(210, 71%, 68%)
CMYKcmyk(70.5%, 35.8%, 0%, 32.2%)
CIE-LABlab(45.75, 1.53, -38.73)
CIE-LCHlch(45.75, 38.76, 272.26°)
OKLaboklab(53.21% -0.0367 -0.11)
OKLCHoklch(53.21% 0.116 251.5)
XYZxyz(14.5897, 15.0883, 41.6705)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FAD #AD7133
analogous
#33ACAD #336FAD #3433AD
triadic
#336FAD #AD336F #6FAD33
tetradic
#336FAD #AD33AC #AD7133 #33AD34
square
#336FAD #AD33AC #AD7133 #33AD34
split-complementary
#336FAD #AD3433 #ACAD33
monochromatic
#17324E #25517E #336FAD #518ECC #81ACDA

Accessibility & contrast

On white

5.23
#336FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#336FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FAD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FAD#FFFFFF#000000##FFFFFF
##336FAD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5373B0
Deuteranopia (green-blind)
#4267AC
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336fad;
/* rgb */ color: rgb(51, 111, 173);
/* oklch */ color: oklch(53.2% 0.116 251.5);
Tailwind
colors: {
  custom: {
    50: '#7998c6',
    500: '#336fad',
    950: '#000000',
  },
}
SCSS
$custom: #336fad;
$custom-light: #7998c6;
$custom-dark: #000000;
JSON
{
  "hex": "#336fad",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 173
  },
  "hsl": {
    "h": 210.492,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.116,
    "h": 251.5
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#336FAD
secondary
#C39F79
accent
#954ADE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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