#336EB6#336EB6

#336EB6 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.5% C 0.129 H 254.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#336EB6
RGBrgb(51, 110, 182)
HSLhsl(213, 56%, 46%)
HSVhsv(213, 72%, 71%)
CMYKcmyk(72%, 39.6%, 0%, 28.6%)
CIE-LABlab(45.95, 5.45, -43.67)
CIE-LCHlch(45.95, 44.01, 277.11°)
OKLaboklab(53.52% -0.0335 -0.1245)
OKLCHoklch(53.52% 0.129 254.9)
XYZxyz(15.3816, 15.2314, 46.3762)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EB6 #B67B33
analogous
#33AFB6 #336EB6 #3933B6
triadic
#336EB6 #B6336E #6EB633
tetradic
#336EB6 #B633AF #B67B33 #33B639
square
#336EB6 #B633AF #B67B33 #33B639
split-complementary
#336EB6 #B63933 #AFB633
monochromatic
#183456 #265186 #336EB6 #568DD0 #86ADDD

Accessibility & contrast

On white

5.19
#336EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#336EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EB6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EB6#FFFFFF#000000##FFFFFF
##336EB61.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B9
Deuteranopia (green-blind)
#3867B5
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336eb6;
/* rgb */ color: rgb(51, 110, 182);
/* oklch */ color: oklch(53.5% 0.129 254.9);
Tailwind
colors: {
  custom: {
    50: '#7b97cc',
    500: '#336eb6',
    950: '#000000',
  },
}
SCSS
$custom: #336eb6;
$custom-light: #7b97cc;
$custom-dark: #000000;
JSON
{
  "hex": "#336eb6",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 182
  },
  "hsl": {
    "h": 212.977,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53521,
    "c": 0.12893,
    "h": 254.9
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#336EB6
secondary
#C7A67E
accent
#9B48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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