#336FC6#336FC6

#336FC6 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.8% C 0.149 H 258.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#336FC6
RGBrgb(51, 111, 198)
HSLhsl(216, 59%, 49%)
HSVhsv(216, 74%, 78%)
CMYKcmyk(74.2%, 43.9%, 0%, 22.4%)
CIE-LABlab(47.17, 10.75, -50.97)
CIE-LCHlch(47.17, 52.09, 281.91°)
OKLaboklab(54.77% -0.031 -0.1459)
OKLCHoklch(54.77% 0.149 258)
XYZxyz(17.2390, 16.1480, 55.6235)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FC6 #C68A33
analogous
#33B9C6 #336FC6 #4133C6
triadic
#336FC6 #C6336F #6FC633
tetradic
#336FC6 #C633B9 #C68A33 #33C641
square
#336FC6 #C633B9 #C68A33 #33C641
split-complementary
#336FC6 #C64133 #B9C633
monochromatic
#1A3865 #265495 #336FC6 #6090D6 #91B2E3

Accessibility & contrast

On white

4.96
#336FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#336FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FC6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FC6#FFFFFF#000000##FFFFFF
##336FC61.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#276AC4
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #336fc6;
/* rgb */ color: rgb(51, 111, 198);
/* oklch */ color: oklch(54.8% 0.149 258.0);
Tailwind
colors: {
  custom: {
    50: '#7e97d8',
    500: '#336fc6',
    950: '#000000',
  },
}
SCSS
$custom: #336fc6;
$custom-light: #7e97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#336fc6",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 198
  },
  "hsl": {
    "h": 215.51,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.14919,
    "h": 258
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#336FC6
secondary
#CDB187
accent
#A246E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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