#336CC0#336CC0

#336CC0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.145 H 258.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#336CC0
RGBrgb(51, 108, 192)
HSLhsl(216, 58%, 48%)
HSVhsv(216, 73%, 75%)
CMYKcmyk(73.4%, 43.7%, 0%, 24.7%)
CIE-LABlab(45.95, 10.41, -49.46)
CIE-LCHlch(45.95, 50.54, 281.89°)
OKLaboklab(53.71% -0.0295 -0.1415)
OKLCHoklch(53.71% 0.145 258.2)
XYZxyz(16.2388, 15.2329, 51.9434)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CC0 #C08733
analogous
#33B2C0 #336CC0 #4133C0
triadic
#336CC0 #C0336C #6CC033
tetradic
#336CC0 #C033B2 #C08733 #33C041
square
#336CC0 #C033B2 #C08733 #33C041
split-complementary
#336CC0 #C04133 #B2C033
monochromatic
#19365F #265190 #336CC0 #5C8DD4 #8DAFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336CC0#FFFFFF#000000##FFFFFF
##336CC01.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)
#4274C3
Deuteranopia (green-blind)
#2867BE
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336cc0;
/* rgb */ color: rgb(51, 108, 192);
/* oklch */ color: oklch(53.7% 0.145 258.2);
Tailwind
colors: {
  custom: {
    50: '#7d95d3',
    500: '#336cc0',
    950: '#000000',
  },
}
SCSS
$custom: #336cc0;
$custom-light: #7d95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#336cc0",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 192
  },
  "hsl": {
    "h": 215.745,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.14459,
    "h": 258.2
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#336CC0
secondary
#CBAE84
accent
#A347E1
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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