#336FBD#336FBD

#336FBD is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.2% C 0.137 H 256.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#336FBD
RGBrgb(51, 111, 189)
HSLhsl(214, 58%, 47%)
HSVhsv(214, 73%, 74%)
CMYKcmyk(73%, 41.3%, 0%, 25.9%)
CIE-LABlab(46.64, 7.41, -46.63)
CIE-LCHlch(46.64, 47.22, 279.03°)
OKLaboklab(54.19% -0.0328 -0.1332)
OKLCHoklch(54.19% 0.137 256.2)
XYZxyz(16.2316, 15.7450, 50.3179)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FBD #BD8133
analogous
#33B4BD #336FBD #3C33BD
triadic
#336FBD #BD336F #6FBD33
tetradic
#336FBD #BD33B4 #BD8133 #33BD3C
square
#336FBD #BD33B4 #BD8133 #33BD3C
split-complementary
#336FBD #BD3C33 #B4BD33
monochromatic
#19365D #26538D #336FBD #5B8FD3 #8BB0E0

Accessibility & contrast

On white

5.06
#336FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#336FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FBD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FBD#FFFFFF#000000##FFFFFF
##336FBD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75C0
Deuteranopia (green-blind)
#3369BB
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #336fbd;
/* rgb */ color: rgb(51, 111, 189);
/* oklch */ color: oklch(54.2% 0.137 256.2);
Tailwind
colors: {
  custom: {
    50: '#7c97d1',
    500: '#336fbd',
    950: '#000000',
  },
}
SCSS
$custom: #336fbd;
$custom-light: #7c97d1;
$custom-dark: #000000;
JSON
{
  "hex": "#336fbd",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 213.913,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.13716,
    "h": 256.2
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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