#336EBD#336EBD

#336EBD is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 54.0% C 0.138 H 256.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#336EBD
RGBrgb(51, 110, 189)
HSLhsl(214, 58%, 47%)
HSVhsv(214, 73%, 74%)
CMYKcmyk(73%, 41.8%, 0%, 25.9%)
CIE-LABlab(46.35, 8.04, -47.09)
CIE-LCHlch(46.35, 47.77, 279.69°)
OKLaboklab(53.96% -0.0319 -0.1345)
OKLCHoklch(53.96% 0.138 256.7)
XYZxyz(16.1231, 15.5280, 50.2817)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EBD #BD8233
analogous
#33B3BD #336EBD #3D33BD
triadic
#336EBD #BD336E #6EBD33
tetradic
#336EBD #BD33B3 #BD8233 #33BD3D
square
#336EBD #BD33B3 #BD8233 #33BD3D
split-complementary
#336EBD #BD3D33 #B3BD33
monochromatic
#19365D #26528D #336EBD #5B8ED3 #8BAFE0

Accessibility & contrast

On white

5.11
#336EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#336EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EBD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EBD#FFFFFF#000000##FFFFFF
##336EBD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336ebd;
/* rgb */ color: rgb(51, 110, 189);
/* oklch */ color: oklch(54.0% 0.138 256.7);
Tailwind
colors: {
  custom: {
    50: '#7c97d1',
    500: '#336ebd',
    950: '#000000',
  },
}
SCSS
$custom: #336ebd;
$custom-light: #7c97d1;
$custom-dark: #000000;
JSON
{
  "hex": "#336ebd",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 189
  },
  "hsl": {
    "h": 214.348,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.13828,
    "h": 256.7
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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