#336EBC#336EBC

#336EBC is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.9% C 0.137 H 256.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#336EBC
RGBrgb(51, 110, 188)
HSLhsl(214, 57%, 47%)
HSVhsv(214, 73%, 74%)
CMYKcmyk(72.9%, 41.5%, 0%, 26.3%)
CIE-LABlab(46.29, 7.67, -46.61)
CIE-LCHlch(46.29, 47.23, 279.34°)
OKLaboklab(53.9% -0.0321 -0.1331)
OKLCHoklch(53.9% 0.137 256.4)
XYZxyz(16.0149, 15.4847, 49.7120)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EBC #BC8133
analogous
#33B2BC #336EBC #3D33BC
triadic
#336EBC #BC336E #6EBC33
tetradic
#336EBC #BC33B2 #BC8133 #33BC3D
square
#336EBC #BC33B2 #BC8133 #33BC3D
split-complementary
#336EBC #BC3D33 #B2BC33
monochromatic
#19365C #26528C #336EBC #5A8ED2 #8AAFDF

Accessibility & contrast

On white

5.13
#336EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#336EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EBC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EBC#FFFFFF#000000##FFFFFF
##336EBC1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336ebc;
/* rgb */ color: rgb(51, 110, 188);
/* oklch */ color: oklch(53.9% 0.137 256.4);
Tailwind
colors: {
  custom: {
    50: '#7c97d0',
    500: '#336ebc',
    950: '#000000',
  },
}
SCSS
$custom: #336ebc;
$custom-light: #7c97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#336ebc",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 188
  },
  "hsl": {
    "h": 214.161,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.13695,
    "h": 256.4
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#336EBC
secondary
#C9AA81
accent
#9F47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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