#336BBD#336BBD

#336BBD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.142 H 258.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#336BBD
RGBrgb(51, 107, 189)
HSLhsl(216, 58%, 47%)
HSVhsv(216, 73%, 74%)
CMYKcmyk(73%, 43.4%, 0%, 25.9%)
CIE-LABlab(45.49, 9.93, -48.47)
CIE-LCHlch(45.49, 49.48, 281.57°)
OKLaboklab(53.29% -0.0292 -0.1387)
OKLCHoklch(53.29% 0.142 258.1)
XYZxyz(15.8049, 14.8916, 50.1757)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BBD #BD8533
analogous
#33B0BD #336BBD #4033BD
triadic
#336BBD #BD336B #6BBD33
tetradic
#336BBD #BD33B0 #BD8533 #33BD40
square
#336BBD #BD33B0 #BD8533 #33BD40
split-complementary
#336BBD #BD4033 #B0BD33
monochromatic
#19345D #26508D #336BBD #5B8BD3 #8BADE0

Accessibility & contrast

On white

5.28
#336BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#336BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BBD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BBD#FFFFFF#000000##FFFFFF
##336BBD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336bbd;
/* rgb */ color: rgb(51, 107, 189);
/* oklch */ color: oklch(53.3% 0.142 258.1);
Tailwind
colors: {
  custom: {
    50: '#7c94d1',
    500: '#336bbd',
    950: '#000000',
  },
}
SCSS
$custom: #336bbd;
$custom-light: #7c94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#336bbd",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 215.652,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.1417,
    "h": 258.1
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#336BBD
secondary
#CAAD82
accent
#A247E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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