#336BB7#336BB7

#336BB7 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.9% C 0.134 H 256.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#336BB7
RGBrgb(51, 107, 183)
HSLhsl(215, 56%, 46%)
HSVhsv(215, 72%, 72%)
CMYKcmyk(72.1%, 41.5%, 0%, 28.2%)
CIE-LABlab(45.13, 7.70, -45.55)
CIE-LCHlch(45.13, 46.20, 279.60°)
OKLaboklab(52.9% -0.0304 -0.1301)
OKLCHoklch(52.9% 0.134 256.8)
XYZxyz(15.1671, 14.6364, 46.8163)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BB7 #B77F33
analogous
#33ADB7 #336BB7 #3D33B7
triadic
#336BB7 #B7336B #6BB733
tetradic
#336BB7 #B733AD #B77F33 #33B73D
square
#336BB7 #B733AD #B77F33 #33B73D
split-complementary
#336BB7 #B73D33 #ADB733
monochromatic
#183357 #264F87 #336BB7 #578AD0 #87ACDE

Accessibility & contrast

On white

5.35
#336BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#336BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BB7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BB7#FFFFFF#000000##FFFFFF
##336BB71.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771BA
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336bb7;
/* rgb */ color: rgb(51, 107, 183);
/* oklch */ color: oklch(52.9% 0.134 256.8);
Tailwind
colors: {
  custom: {
    50: '#7b94cd',
    500: '#336bb7',
    950: '#000000',
  },
}
SCSS
$custom: #336bb7;
$custom-light: #7b94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#336bb7",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 214.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52904,
    "c": 0.1336,
    "h": 256.8
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#336BB7
secondary
#C7A87F
accent
#9F48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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