#336FBC#336FBC

#336FBC is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.136 H 255.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#336FBC
RGBrgb(51, 111, 188)
HSLhsl(214, 57%, 47%)
HSVhsv(214, 73%, 74%)
CMYKcmyk(72.9%, 41%, 0%, 26.3%)
CIE-LABlab(46.58, 7.04, -46.14)
CIE-LCHlch(46.58, 46.68, 278.68°)
OKLaboklab(54.12% -0.033 -0.1317)
OKLCHoklch(54.12% 0.136 255.9)
XYZxyz(16.1234, 15.7018, 49.7482)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FBC #BC8033
analogous
#33B3BC #336FBC #3C33BC
triadic
#336FBC #BC336F #6FBC33
tetradic
#336FBC #BC33B3 #BC8033 #33BC3C
square
#336FBC #BC33B3 #BC8033 #33BC3C
split-complementary
#336FBC #BC3C33 #B3BC33
monochromatic
#19365C #26538C #336FBC #5A8FD2 #8AAFDF

Accessibility & contrast

On white

5.07
#336FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#336FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FBC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FBC#FFFFFF#000000##FFFFFF
##336FBC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#3469BA
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336fbc;
/* rgb */ color: rgb(51, 111, 188);
/* oklch */ color: oklch(54.1% 0.136 255.9);
Tailwind
colors: {
  custom: {
    50: '#7c97d0',
    500: '#336fbc',
    950: '#000000',
  },
}
SCSS
$custom: #336fbc;
$custom-light: #7c97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#336fbc",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 213.723,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.13583,
    "h": 255.9
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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