#336AC0#336AC0

#336AC0 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.3% C 0.147 H 259.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#336AC0
RGBrgb(51, 106, 192)
HSLhsl(217, 58%, 48%)
HSVhsv(217, 73%, 75%)
CMYKcmyk(73.4%, 44.8%, 0%, 24.7%)
CIE-LABlab(45.38, 11.68, -50.38)
CIE-LCHlch(45.38, 51.71, 283.05°)
OKLaboklab(53.27% -0.0277 -0.1443)
OKLCHoklch(53.27% 0.147 259.1)
XYZxyz(16.0303, 14.8159, 51.8739)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AC0 #C08933
analogous
#33B0C0 #336AC0 #4333C0
triadic
#336AC0 #C0336A #6AC033
tetradic
#336AC0 #C033B0 #C08933 #33C043
square
#336AC0 #C033B0 #C08933 #33C043
split-complementary
#336AC0 #C04333 #B0C033
monochromatic
#19355F #264F90 #336AC0 #5C8BD4 #8DADE1

Accessibility & contrast

On white

5.30
#336AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#336AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AC0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AC0#FFFFFF#000000##FFFFFF
##336AC01.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C3
Deuteranopia (green-blind)
#2265BE
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336ac0;
/* rgb */ color: rgb(51, 106, 192);
/* oklch */ color: oklch(53.3% 0.147 259.1);
Tailwind
colors: {
  custom: {
    50: '#7d94d3',
    500: '#336ac0',
    950: '#000000',
  },
}
SCSS
$custom: #336ac0;
$custom-light: #7d94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#336ac0",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 192
  },
  "hsl": {
    "h": 216.596,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.14691,
    "h": 259.1
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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