#336CC3#336CC3

#336CC3 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 53.9% C 0.149 H 258.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#336CC3
RGBrgb(51, 108, 195)
HSLhsl(216, 59%, 48%)
HSVhsv(216, 74%, 76%)
CMYKcmyk(73.8%, 44.6%, 0%, 23.5%)
CIE-LABlab(46.13, 11.53, -50.90)
CIE-LCHlch(46.13, 52.19, 282.76°)
OKLaboklab(53.91% -0.0289 -0.1458)
OKLCHoklch(53.91% 0.149 258.8)
XYZxyz(16.5745, 15.3672, 53.7118)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CC3 #C38A33
analogous
#33B4C3 #336CC3 #4233C3
triadic
#336CC3 #C3336C #6CC333
tetradic
#336CC3 #C333B4 #C38A33 #33C342
square
#336CC3 #C333B4 #C38A33 #33C342
split-complementary
#336CC3 #C34233 #B4C333
monochromatic
#1A3662 #265192 #336CC3 #5E8DD5 #8FB0E2

Accessibility & contrast

On white

5.15
#336CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#336CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CC3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CC3#FFFFFF#000000##FFFFFF
##336CC31.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#2367C1
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336cc3;
/* rgb */ color: rgb(51, 108, 195);
/* oklch */ color: oklch(53.9% 0.149 258.8);
Tailwind
colors: {
  custom: {
    50: '#7e95d6',
    500: '#336cc3',
    950: '#000000',
  },
}
SCSS
$custom: #336cc3;
$custom-light: #7e95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#336cc3",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 195
  },
  "hsl": {
    "h": 216.25,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.14863,
    "h": 258.8
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#336CC3
secondary
#CCB086
accent
#A446E2
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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