#336EA6#336EA6

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

Color values

HEX#336EA6
RGBrgb(51, 110, 166)
HSLhsl(209, 53%, 43%)
HSVhsv(209, 69%, 65%)
CMYKcmyk(69.3%, 33.7%, 0%, 34.9%)
CIE-LABlab(45.09, -0.40, -35.68)
CIE-LCHlch(45.09, 35.68, 269.37°)
OKLaboklab(52.57% -0.0377 -0.1011)
OKLCHoklch(52.57% 0.108 249.6)
XYZxyz(13.8215, 14.6074, 38.1601)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EA6 #A66B33
analogous
#33A6A4 #336EA6 #3335A6
triadic
#336EA6 #A6336E #6EA633
tetradic
#336EA6 #A433A6 #A66B33 #35A633
square
#336EA6 #A433A6 #A66B33 #35A633
split-complementary
#336EA6 #A63335 #A6A433
monochromatic
#163048 #254F77 #336EA6 #4E8DC9 #7CABD7

Accessibility & contrast

On white

5.35
#336EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#336EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EA6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EA6#FFFFFF#000000##FFFFFF
##336EA61.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A8
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336ea6;
/* rgb */ color: rgb(51, 110, 166);
/* oklch */ color: oklch(52.6% 0.108 249.6);
Tailwind
colors: {
  custom: {
    50: '#7897c0',
    500: '#336ea6',
    950: '#000000',
  },
}
SCSS
$custom: #336ea6;
$custom-light: #7897c0;
$custom-dark: #000000;
JSON
{
  "hex": "#336ea6",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 166
  },
  "hsl": {
    "h": 209.217,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.10792,
    "h": 249.6
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#336EA6
secondary
#C09975
accent
#924BDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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