#336FBB#336FBB

#336FBB is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.135 H 255.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#336FBB
RGBrgb(51, 111, 187)
HSLhsl(214, 57%, 47%)
HSVhsv(214, 73%, 73%)
CMYKcmyk(72.7%, 40.6%, 0%, 26.7%)
CIE-LABlab(46.52, 6.67, -45.66)
CIE-LCHlch(46.52, 46.14, 278.31°)
OKLaboklab(54.06% -0.0333 -0.1303)
OKLCHoklch(54.06% 0.135 255.7)
XYZxyz(16.0160, 15.6588, 49.1824)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FBB #BB7F33
analogous
#33B3BB #336FBB #3B33BB
triadic
#336FBB #BB336F #6FBB33
tetradic
#336FBB #BB33B3 #BB7F33 #33BB3B
square
#336FBB #BB33B3 #BB7F33 #33BB3B
split-complementary
#336FBB #BB3B33 #B3BB33
monochromatic
#19365B #26528B #336FBB #598FD2 #89AFDF

Accessibility & contrast

On white

5.08
#336FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#336FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FBB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FBB#FFFFFF#000000##FFFFFF
##336FBB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336fbb;
/* rgb */ color: rgb(51, 111, 187);
/* oklch */ color: oklch(54.1% 0.135 255.7);
Tailwind
colors: {
  custom: {
    50: '#7c97d0',
    500: '#336fbb',
    950: '#000000',
  },
}
SCSS
$custom: #336fbb;
$custom-light: #7c97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#336fbb",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 213.529,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.1345,
    "h": 255.7
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#336FBB
secondary
#C9A981
accent
#9D47E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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