#336BC0#336BC0

#336BC0 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.5% C 0.146 H 258.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#336BC0
RGBrgb(51, 107, 192)
HSLhsl(216, 58%, 48%)
HSVhsv(216, 73%, 75%)
CMYKcmyk(73.4%, 44.3%, 0%, 24.7%)
CIE-LABlab(45.67, 11.04, -49.92)
CIE-LCHlch(45.67, 51.13, 282.47°)
OKLaboklab(53.49% -0.0286 -0.1429)
OKLCHoklch(53.49% 0.146 258.7)
XYZxyz(16.1339, 15.0232, 51.9084)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BC0 #C08833
analogous
#33B2C0 #336BC0 #4133C0
triadic
#336BC0 #C0336B #6BC033
tetradic
#336BC0 #C033B2 #C08833 #33C041
square
#336BC0 #C033B2 #C08833 #33C041
split-complementary
#336BC0 #C04133 #B2C033
monochromatic
#19355F #265090 #336BC0 #5C8CD4 #8DAEE1

Accessibility & contrast

On white

5.24
#336BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#336BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BC0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BC0#FFFFFF#000000##FFFFFF
##336BC01.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4073C3
Deuteranopia (green-blind)
#2566BE
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336bc0;
/* rgb */ color: rgb(51, 107, 192);
/* oklch */ color: oklch(53.5% 0.146 258.7);
Tailwind
colors: {
  custom: {
    50: '#7d94d3',
    500: '#336bc0',
    950: '#000000',
  },
}
SCSS
$custom: #336bc0;
$custom-light: #7d94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#336bc0",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 192
  },
  "hsl": {
    "h": 216.17,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.14574,
    "h": 258.7
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#336BC0
secondary
#CBAF84
accent
#A447E1
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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