#336EA8#336EA8

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

Color values

HEX#336EA8
RGBrgb(51, 110, 168)
HSLhsl(210, 53%, 43%)
HSVhsv(210, 70%, 66%)
CMYKcmyk(69.6%, 34.5%, 0%, 34.1%)
CIE-LABlab(45.19, 0.33, -36.69)
CIE-LCHlch(45.19, 36.69, 270.51°)
OKLaboklab(52.69% -0.0371 -0.1041)
OKLCHoklch(52.69% 0.11 250.4)
XYZxyz(14.0064, 14.6813, 39.1338)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EA8 #A86D33
analogous
#33A8A8 #336EA8 #3333A8
triadic
#336EA8 #A8336E #6EA833
tetradic
#336EA8 #A833A8 #A86D33 #33A833
square
#336EA8 #A833A8 #A86D33 #33A833
split-complementary
#336EA8 #A83333 #A8A833
monochromatic
#16314A #254F79 #336EA8 #4F8DC9 #7EABD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336EA8#FFFFFF#000000##FFFFFF
##336EA81.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)
#5471AA
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336ea8;
/* rgb */ color: rgb(51, 110, 168);
/* oklch */ color: oklch(52.7% 0.110 250.4);
Tailwind
colors: {
  custom: {
    50: '#7897c2',
    500: '#336ea8',
    950: '#000000',
  },
}
SCSS
$custom: #336ea8;
$custom-light: #7897c2;
$custom-dark: #000000;
JSON
{
  "hex": "#336ea8",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 209.744,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.11049,
    "h": 250.4
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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