#336DC3#336DC3

#336DC3 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.1% C 0.147 H 258.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#336DC3
RGBrgb(51, 109, 195)
HSLhsl(216, 59%, 48%)
HSVhsv(216, 74%, 76%)
CMYKcmyk(73.8%, 44.1%, 0%, 23.5%)
CIE-LABlab(46.42, 10.90, -50.45)
CIE-LCHlch(46.42, 51.61, 282.19°)
OKLaboklab(54.13% -0.0298 -0.1444)
OKLCHoklch(54.13% 0.147 258.3)
XYZxyz(16.6806, 15.5794, 53.7472)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DC3 #C38933
analogous
#33B5C3 #336DC3 #4133C3
triadic
#336DC3 #C3336D #6DC333
tetradic
#336DC3 #C333B5 #C38933 #33C341
square
#336DC3 #C333B5 #C38933 #33C341
split-complementary
#336DC3 #C34133 #B5C333
monochromatic
#1A3762 #265292 #336DC3 #5E8ED5 #8FB0E2

Accessibility & contrast

On white

5.10
#336DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#336DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DC3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DC3#FFFFFF#000000##FFFFFF
##336DC31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#2668C1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336dc3;
/* rgb */ color: rgb(51, 109, 195);
/* oklch */ color: oklch(54.1% 0.147 258.3);
Tailwind
colors: {
  custom: {
    50: '#7d96d6',
    500: '#336dc3',
    950: '#000000',
  },
}
SCSS
$custom: #336dc3;
$custom-light: #7d96d6;
$custom-dark: #000000;
JSON
{
  "hex": "#336dc3",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 195
  },
  "hsl": {
    "h": 215.833,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.14747,
    "h": 258.3
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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