#336AC3#336AC3

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

Color values

HEX#336AC3
RGBrgb(51, 106, 195)
HSLhsl(217, 59%, 48%)
HSVhsv(217, 74%, 76%)
CMYKcmyk(73.8%, 45.6%, 0%, 23.5%)
CIE-LABlab(45.57, 12.80, -51.81)
CIE-LCHlch(45.57, 53.37, 283.87°)
OKLaboklab(53.47% -0.0272 -0.1485)
OKLCHoklch(53.47% 0.151 259.6)
XYZxyz(16.3660, 14.9502, 53.6423)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AC3 #C38C33
analogous
#33B2C3 #336AC3 #4433C3
triadic
#336AC3 #C3336A #6AC333
tetradic
#336AC3 #C333B2 #C38C33 #33C344
square
#336AC3 #C333B2 #C38C33 #33C344
split-complementary
#336AC3 #C34433 #B2C333
monochromatic
#1A3562 #265092 #336AC3 #5E8CD5 #8FAEE2

Accessibility & contrast

On white

5.26
#336AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#336AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AC3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AC3#FFFFFF#000000##FFFFFF
##336AC31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C6
Deuteranopia (green-blind)
#1C66C1
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336ac3;
/* rgb */ color: rgb(51, 106, 195);
/* oklch */ color: oklch(53.5% 0.151 259.6);
Tailwind
colors: {
  custom: {
    50: '#7e94d6',
    500: '#336ac3',
    950: '#000000',
  },
}
SCSS
$custom: #336ac3;
$custom-light: #7e94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#336ac3",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 195
  },
  "hsl": {
    "h": 217.083,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.15097,
    "h": 259.6
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#336AC3
secondary
#CCB186
accent
#A646E2
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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