#336FB6#336FB6

#336FB6 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.128 H 254.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#336FB6
RGBrgb(51, 111, 182)
HSLhsl(213, 56%, 46%)
HSVhsv(213, 72%, 71%)
CMYKcmyk(72%, 39%, 0%, 28.6%)
CIE-LABlab(46.24, 4.83, -43.20)
CIE-LCHlch(46.24, 43.47, 276.37°)
OKLaboklab(53.75% -0.0344 -0.1231)
OKLCHoklch(53.75% 0.128 254.4)
XYZxyz(15.4901, 15.4484, 46.4124)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FB6 #B67A33
analogous
#33B0B6 #336FB6 #3833B6
triadic
#336FB6 #B6336F #6FB633
tetradic
#336FB6 #B633B0 #B67A33 #33B638
square
#336FB6 #B633B0 #B67A33 #33B638
split-complementary
#336FB6 #B63833 #B0B633
monochromatic
#183556 #265286 #336FB6 #568ED0 #86AEDD

Accessibility & contrast

On white

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

On black

4.09
#336FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##336FB6#FFFFFF#000000##FFFFFF
##336FB61.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B9
Deuteranopia (green-blind)
#3A68B5
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336fb6;
/* rgb */ color: rgb(51, 111, 182);
/* oklch */ color: oklch(53.7% 0.128 254.4);
Tailwind
colors: {
  custom: {
    50: '#7b97cc',
    500: '#336fb6',
    950: '#000000',
  },
}
SCSS
$custom: #336fb6;
$custom-light: #7b97cc;
$custom-dark: #000000;
JSON
{
  "hex": "#336fb6",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 182
  },
  "hsl": {
    "h": 212.519,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.12785,
    "h": 254.4
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#336FB6
secondary
#C7A57E
accent
#9A48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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