#336FC9#336FC9

#336FC9 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.0% C 0.153 H 258.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#336FC9
RGBrgb(51, 111, 201)
HSLhsl(216, 60%, 49%)
HSVhsv(216, 75%, 79%)
CMYKcmyk(74.6%, 44.8%, 0%, 21.2%)
CIE-LABlab(47.35, 11.87, -52.40)
CIE-LCHlch(47.35, 53.73, 282.76°)
OKLaboklab(54.97% -0.0304 -0.1501)
OKLCHoklch(54.97% 0.153 258.5)
XYZxyz(17.5885, 16.2878, 57.4639)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FC9 #C98D33
analogous
#33BAC9 #336FC9 #4233C9
triadic
#336FC9 #C9336F #6FC933
tetradic
#336FC9 #C933BA #C98D33 #33C942
square
#336FC9 #C933BA #C98D33 #33C942
split-complementary
#336FC9 #C94233 #BAC933
monochromatic
#1A3967 #275498 #336FC9 #6291D7 #93B3E4

Accessibility & contrast

On white

4.93
#336FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#336FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FC9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FC9#FFFFFF#000000##FFFFFF
##336FC91.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4178CC
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #336fc9;
/* rgb */ color: rgb(51, 111, 201);
/* oklch */ color: oklch(55.0% 0.153 258.5);
Tailwind
colors: {
  custom: {
    50: '#7f97da',
    500: '#336fc9',
    950: '#000000',
  },
}
SCSS
$custom: #336fc9;
$custom-light: #7f97da;
$custom-dark: #000000;
JSON
{
  "hex": "#336fc9",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 201
  },
  "hsl": {
    "h": 216,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.15319,
    "h": 258.5
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#336FC9
secondary
#CFB389
accent
#A445E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #336FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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