#336CB8#336CB8

#336CB8 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.134 H 256.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#336CB8
RGBrgb(51, 108, 184)
HSLhsl(214, 57%, 46%)
HSVhsv(214, 72%, 72%)
CMYKcmyk(72.3%, 41.3%, 0%, 27.8%)
CIE-LABlab(45.48, 7.44, -45.58)
CIE-LCHlch(45.48, 46.18, 279.27°)
OKLaboklab(53.19% -0.0311 -0.1301)
OKLCHoklch(53.19% 0.134 256.5)
XYZxyz(15.3764, 14.8879, 47.4014)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CB8 #B87F33
analogous
#33AEB8 #336CB8 #3C33B8
triadic
#336CB8 #B8336C #6CB833
tetradic
#336CB8 #B833AE #B87F33 #33B83C
square
#336CB8 #B833AE #B87F33 #33B83C
split-complementary
#336CB8 #B83C33 #AEB833
monochromatic
#183458 #265088 #336CB8 #588BD1 #88ADDE

Accessibility & contrast

On white

5.28
#336CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#336CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CB8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CB8#FFFFFF#000000##FFFFFF
##336CB81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BB
Deuteranopia (green-blind)
#3266B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336cb8;
/* rgb */ color: rgb(51, 108, 184);
/* oklch */ color: oklch(53.2% 0.134 256.5);
Tailwind
colors: {
  custom: {
    50: '#7b95ce',
    500: '#336cb8',
    950: '#000000',
  },
}
SCSS
$custom: #336cb8;
$custom-light: #7b95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336cb8",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 214.286,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53193,
    "c": 0.13382,
    "h": 256.5
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#336CB8
secondary
#C8A97F
accent
#9F48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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