#336FC8#336FC8

#336FC8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.9% C 0.152 H 258.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#336FC8
RGBrgb(51, 111, 200)
HSLhsl(216, 59%, 49%)
HSVhsv(216, 75%, 78%)
CMYKcmyk(74.5%, 44.5%, 0%, 21.6%)
CIE-LABlab(47.29, 11.49, -51.92)
CIE-LCHlch(47.29, 53.18, 282.48°)
OKLaboklab(54.9% -0.0306 -0.1487)
OKLCHoklch(54.9% 0.152 258.4)
XYZxyz(17.4712, 16.2409, 56.8464)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FC8 #C88C33
analogous
#33BAC8 #336FC8 #4233C8
triadic
#336FC8 #C8336F #6FC833
tetradic
#336FC8 #C833BA #C88C33 #33C842
square
#336FC8 #C833BA #C88C33 #33C842
split-complementary
#336FC8 #C84233 #BAC833
monochromatic
#1A3966 #275497 #336FC8 #6191D7 #92B3E3

Accessibility & contrast

On white

4.94
#336FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#336FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FC8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FC8#FFFFFF#000000##FFFFFF
##336FC81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#246AC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #336fc8;
/* rgb */ color: rgb(51, 111, 200);
/* oklch */ color: oklch(54.9% 0.152 258.4);
Tailwind
colors: {
  custom: {
    50: '#7e97d9',
    500: '#336fc8',
    950: '#000000',
  },
}
SCSS
$custom: #336fc8;
$custom-light: #7e97d9;
$custom-dark: #000000;
JSON
{
  "hex": "#336fc8",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 215.839,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.549,
    "c": 0.15186,
    "h": 258.4
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#336FC8
secondary
#CEB289
accent
#A345E3
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #336FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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