#336EB8#336EB8

#336EB8 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.132 H 255.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#336EB8
RGBrgb(51, 110, 184)
HSLhsl(213, 57%, 46%)
HSVhsv(213, 72%, 72%)
CMYKcmyk(72.3%, 40.2%, 0%, 27.8%)
CIE-LABlab(46.06, 6.19, -44.65)
CIE-LCHlch(46.06, 45.08, 277.89°)
OKLaboklab(53.65% -0.033 -0.1274)
OKLCHoklch(53.65% 0.132 255.5)
XYZxyz(15.5897, 15.3147, 47.4725)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EB8 #B87D33
analogous
#33B0B8 #336EB8 #3A33B8
triadic
#336EB8 #B8336E #6EB833
tetradic
#336EB8 #B833B0 #B87D33 #33B83A
square
#336EB8 #B833B0 #B87D33 #33B83A
split-complementary
#336EB8 #B83A33 #B0B833
monochromatic
#183558 #265188 #336EB8 #588DD1 #88AEDE

Accessibility & contrast

On white

5.17
#336EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#336EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EB8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EB8#FFFFFF#000000##FFFFFF
##336EB81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#3667B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336eb8;
/* rgb */ color: rgb(51, 110, 184);
/* oklch */ color: oklch(53.6% 0.132 255.5);
Tailwind
colors: {
  custom: {
    50: '#7b97ce',
    500: '#336eb8',
    950: '#000000',
  },
}
SCSS
$custom: #336eb8;
$custom-light: #7b97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336eb8",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 213.383,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53645,
    "c": 0.1316,
    "h": 255.5
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#336EB8
secondary
#C8A77F
accent
#9C48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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