#336ABF#336ABF

#336ABF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.146 H 258.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#336ABF
RGBrgb(51, 106, 191)
HSLhsl(216, 58%, 47%)
HSVhsv(216, 73%, 75%)
CMYKcmyk(73.3%, 44.5%, 0%, 25.1%)
CIE-LABlab(45.32, 11.31, -49.89)
CIE-LCHlch(45.32, 51.16, 282.77°)
OKLaboklab(53.2% -0.0279 -0.1429)
OKLCHoklch(53.2% 0.146 258.9)
XYZxyz(15.9198, 14.7717, 51.2923)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336ABF #BF8833
analogous
#33B0BF #336ABF #4233BF
triadic
#336ABF #BF336A #6ABF33
tetradic
#336ABF #BF33B0 #BF8833 #33BF42
square
#336ABF #BF33B0 #BF8833 #33BF42
split-complementary
#336ABF #BF4233 #B0BF33
monochromatic
#19345E #264F8F #336ABF #5C8BD3 #8CADE0

Accessibility & contrast

On white

5.31
#336ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#336ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336ABF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336ABF#FFFFFF#000000##FFFFFF
##336ABF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336abf;
/* rgb */ color: rgb(51, 106, 191);
/* oklch */ color: oklch(53.2% 0.146 258.9);
Tailwind
colors: {
  custom: {
    50: '#7d94d3',
    500: '#336abf',
    950: '#000000',
  },
}
SCSS
$custom: #336abf;
$custom-light: #7d94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#336abf",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 191
  },
  "hsl": {
    "h": 216.429,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.14556,
    "h": 258.9
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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