#336CC9#336CC9

#336CC9 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.3% C 0.157 H 259.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#336CC9
RGBrgb(51, 108, 201)
HSLhsl(217, 60%, 49%)
HSVhsv(217, 75%, 79%)
CMYKcmyk(74.6%, 46.3%, 0%, 21.2%)
CIE-LABlab(46.50, 13.76, -53.76)
CIE-LCHlch(46.50, 55.49, 284.36°)
OKLaboklab(54.32% -0.0279 -0.1542)
OKLCHoklch(54.32% 0.157 259.8)
XYZxyz(17.2666, 15.6440, 57.3566)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CC9 #C99033
analogous
#33B7C9 #336CC9 #4533C9
triadic
#336CC9 #C9336C #6CC933
tetradic
#336CC9 #C933B7 #C99033 #33C945
square
#336CC9 #C933B7 #C99033 #33C945
split-complementary
#336CC9 #C94533 #B7C933
monochromatic
#1A3867 #275298 #336CC9 #628FD7 #93B2E4

Accessibility & contrast

On white

5.09
#336CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#336CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CC9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CC9#FFFFFF#000000##FFFFFF
##336CC91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CC
Deuteranopia (green-blind)
#1668C7
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336cc9;
/* rgb */ color: rgb(51, 108, 201);
/* oklch */ color: oklch(54.3% 0.157 259.8);
Tailwind
colors: {
  custom: {
    50: '#7f95da',
    500: '#336cc9',
    950: '#000000',
  },
}
SCSS
$custom: #336cc9;
$custom-light: #7f95da;
$custom-dark: #000000;
JSON
{
  "hex": "#336cc9",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 201
  },
  "hsl": {
    "h": 217.2,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.15669,
    "h": 259.8
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#336CC9
secondary
#CFB489
accent
#A745E3
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #336CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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