#336BBF#336BBF

#336BBF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.4% C 0.144 H 258.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#336BBF
RGBrgb(51, 107, 191)
HSLhsl(216, 58%, 47%)
HSVhsv(216, 73%, 75%)
CMYKcmyk(73.3%, 44%, 0%, 25.1%)
CIE-LABlab(45.61, 10.67, -49.44)
CIE-LCHlch(45.61, 50.58, 282.18°)
OKLaboklab(53.42% -0.0288 -0.1415)
OKLCHoklch(53.42% 0.144 258.5)
XYZxyz(16.0235, 14.9790, 51.3269)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BBF #BF8733
analogous
#33B1BF #336BBF #4133BF
triadic
#336BBF #BF336B #6BBF33
tetradic
#336BBF #BF33B1 #BF8733 #33BF41
square
#336BBF #BF33B1 #BF8733 #33BF41
split-complementary
#336BBF #BF4133 #B1BF33
monochromatic
#19355E #26508F #336BBF #5C8CD3 #8CAEE0

Accessibility & contrast

On white

5.25
#336BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336BBF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BBF#FFFFFF#000000##FFFFFF
##336BBF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#2766BD
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336bbf;
/* rgb */ color: rgb(51, 107, 191);
/* oklch */ color: oklch(53.4% 0.144 258.5);
Tailwind
colors: {
  custom: {
    50: '#7d94d3',
    500: '#336bbf',
    950: '#000000',
  },
}
SCSS
$custom: #336bbf;
$custom-light: #7d94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#336bbf",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 216,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.1444,
    "h": 258.5
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#336BBF
secondary
#CBAE83
accent
#A347E1
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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