#336CB7#336CB7

#336CB7 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.132 H 256.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#336CB7
RGBrgb(51, 108, 183)
HSLhsl(214, 56%, 46%)
HSVhsv(214, 72%, 72%)
CMYKcmyk(72.1%, 41%, 0%, 28.2%)
CIE-LABlab(45.42, 7.07, -45.09)
CIE-LCHlch(45.42, 45.64, 278.91°)
OKLaboklab(53.13% -0.0314 -0.1287)
OKLCHoklch(53.13% 0.132 256.3)
XYZxyz(15.2719, 14.8462, 46.8513)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CB7 #B77E33
analogous
#33AEB7 #336CB7 #3C33B7
triadic
#336CB7 #B7336C #6CB733
tetradic
#336CB7 #B733AE #B77E33 #33B73C
square
#336CB7 #B733AE #B77E33 #33B73C
split-complementary
#336CB7 #B73C33 #AEB733
monochromatic
#183457 #265087 #336CB7 #578BD0 #87ACDE

Accessibility & contrast

On white

5.29
#336CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#336CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CB7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CB7#FFFFFF#000000##FFFFFF
##336CB71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972BA
Deuteranopia (green-blind)
#3366B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336cb7;
/* rgb */ color: rgb(51, 108, 183);
/* oklch */ color: oklch(53.1% 0.132 256.3);
Tailwind
colors: {
  custom: {
    50: '#7b95cd',
    500: '#336cb7',
    950: '#000000',
  },
}
SCSS
$custom: #336cb7;
$custom-light: #7b95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#336cb7",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 214.091,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.13248,
    "h": 256.3
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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