#336DB6#336DB6

#336DB6 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.130 H 255.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#336DB6
RGBrgb(51, 109, 182)
HSLhsl(213, 56%, 46%)
HSVhsv(213, 72%, 71%)
CMYKcmyk(72%, 40.1%, 0%, 28.6%)
CIE-LABlab(45.66, 6.07, -44.13)
CIE-LCHlch(45.66, 44.55, 277.84°)
OKLaboklab(53.29% -0.0325 -0.1259)
OKLCHoklch(53.29% 0.13 255.5)
XYZxyz(15.2743, 15.0168, 46.3404)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DB6 #B67C33
analogous
#33AEB6 #336DB6 #3A33B6
triadic
#336DB6 #B6336D #6DB633
tetradic
#336DB6 #B633AE #B67C33 #33B63A
square
#336DB6 #B633AE #B67C33 #33B63A
split-complementary
#336DB6 #B63A33 #AEB633
monochromatic
#183456 #265086 #336DB6 #568CD0 #86ADDD

Accessibility & contrast

On white

5.25
#336DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#336DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DB6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DB6#FFFFFF#000000##FFFFFF
##336DB61.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73B9
Deuteranopia (green-blind)
#3667B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336db6;
/* rgb */ color: rgb(51, 109, 182);
/* oklch */ color: oklch(53.3% 0.130 255.5);
Tailwind
colors: {
  custom: {
    50: '#7b96cc',
    500: '#336db6',
    950: '#000000',
  },
}
SCSS
$custom: #336db6;
$custom-light: #7b96cc;
$custom-dark: #000000;
JSON
{
  "hex": "#336db6",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 182
  },
  "hsl": {
    "h": 213.435,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.13002,
    "h": 255.5
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#336DB6
secondary
#C7A77E
accent
#9D48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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