#336EA7#336EA7

#336EA7 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.6% C 0.109 H 250.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#336EA7
RGBrgb(51, 110, 167)
HSLhsl(209, 53%, 43%)
HSVhsv(209, 69%, 65%)
CMYKcmyk(69.5%, 34.1%, 0%, 34.5%)
CIE-LABlab(45.14, -0.03, -36.18)
CIE-LCHlch(45.14, 36.18, 269.95°)
OKLaboklab(52.63% -0.0374 -0.1026)
OKLCHoklch(52.63% 0.109 250)
XYZxyz(13.9136, 14.6442, 38.6451)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EA7 #A76C33
analogous
#33A7A6 #336EA7 #3334A7
triadic
#336EA7 #A7336E #6EA733
tetradic
#336EA7 #A633A7 #A76C33 #34A733
square
#336EA7 #A633A7 #A76C33 #34A733
split-complementary
#336EA7 #A73334 #A7A633
monochromatic
#163049 #254F78 #336EA7 #4E8DC9 #7DABD7

Accessibility & contrast

On white

5.34
#336EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#336EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EA7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EA7#FFFFFF#000000##FFFFFF
##336EA71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A9
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336ea7;
/* rgb */ color: rgb(51, 110, 167);
/* oklch */ color: oklch(52.6% 0.109 250.0);
Tailwind
colors: {
  custom: {
    50: '#7897c1',
    500: '#336ea7',
    950: '#000000',
  },
}
SCSS
$custom: #336ea7;
$custom-light: #7897c1;
$custom-dark: #000000;
JSON
{
  "hex": "#336ea7",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 209.483,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52627,
    "c": 0.10921,
    "h": 250
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#336EA7
secondary
#C09A76
accent
#934BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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