#336BB6#336BB6

#336BB6 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.132 H 256.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#336BB6
RGBrgb(51, 107, 182)
HSLhsl(214, 56%, 46%)
HSVhsv(214, 72%, 71%)
CMYKcmyk(72%, 41.2%, 0%, 28.6%)
CIE-LABlab(45.07, 7.33, -45.06)
CIE-LCHlch(45.07, 45.66, 279.24°)
OKLaboklab(52.84% -0.0306 -0.1286)
OKLCHoklch(52.84% 0.132 256.6)
XYZxyz(15.0633, 14.5950, 46.2701)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BB6 #B67E33
analogous
#33ACB6 #336BB6 #3C33B6
triadic
#336BB6 #B6336B #6BB633
tetradic
#336BB6 #B633AC #B67E33 #33B63C
square
#336BB6 #B633AC #B67E33 #33B63C
split-complementary
#336BB6 #B63C33 #ACB633
monochromatic
#183356 #264F86 #336BB6 #568AD0 #86ABDD

Accessibility & contrast

On white

5.36
#336BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#336BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BB6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BB6#FFFFFF#000000##FFFFFF
##336BB61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4871B9
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336bb6;
/* rgb */ color: rgb(51, 107, 182);
/* oklch */ color: oklch(52.8% 0.132 256.6);
Tailwind
colors: {
  custom: {
    50: '#7b94cc',
    500: '#336bb6',
    950: '#000000',
  },
}
SCSS
$custom: #336bb6;
$custom-light: #7b94cc;
$custom-dark: #000000;
JSON
{
  "hex": "#336bb6",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 182
  },
  "hsl": {
    "h": 214.351,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.13225,
    "h": 256.6
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#336BB6
secondary
#C7A87E
accent
#9F48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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