#336DB8#336DB8

#336DB8 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.4% C 0.133 H 256.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#336DB8
RGBrgb(51, 109, 184)
HSLhsl(214, 57%, 46%)
HSVhsv(214, 72%, 72%)
CMYKcmyk(72.3%, 40.8%, 0%, 27.8%)
CIE-LABlab(45.77, 6.81, -45.12)
CIE-LCHlch(45.77, 45.63, 278.59°)
OKLaboklab(53.42% -0.0321 -0.1288)
OKLCHoklch(53.42% 0.133 256)
XYZxyz(15.4824, 15.1001, 47.4368)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DB8 #B87E33
analogous
#33AFB8 #336DB8 #3C33B8
triadic
#336DB8 #B8336D #6DB833
tetradic
#336DB8 #B833AF #B87E33 #33B83C
square
#336DB8 #B833AF #B87E33 #33B83C
split-complementary
#336DB8 #B83C33 #AFB833
monochromatic
#183458 #265188 #336DB8 #588CD1 #88ADDE

Accessibility & contrast

On white

5.22
#336DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#336DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DB8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DB8#FFFFFF#000000##FFFFFF
##336DB81.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BB
Deuteranopia (green-blind)
#3467B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336db8;
/* rgb */ color: rgb(51, 109, 184);
/* oklch */ color: oklch(53.4% 0.133 256.0);
Tailwind
colors: {
  custom: {
    50: '#7b96ce',
    500: '#336db8',
    950: '#000000',
  },
}
SCSS
$custom: #336db8;
$custom-light: #7b96ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336db8",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 213.835,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.1327,
    "h": 256
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#336DB8
secondary
#C8A87F
accent
#9E48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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