#336BB9#336BB9

#336BB9 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 53.0% C 0.136 H 257.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#336BB9
RGBrgb(51, 107, 185)
HSLhsl(215, 57%, 46%)
HSVhsv(215, 72%, 73%)
CMYKcmyk(72.4%, 42.2%, 0%, 27.5%)
CIE-LABlab(45.25, 8.44, -46.53)
CIE-LCHlch(45.25, 47.29, 280.28°)
OKLaboklab(53.03% -0.03 -0.133)
OKLCHoklch(53.03% 0.136 257.3)
XYZxyz(15.3767, 14.7203, 47.9204)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BB9 #B98133
analogous
#33AEB9 #336BB9 #3E33B9
triadic
#336BB9 #B9336B #6BB933
tetradic
#336BB9 #B933AE #B98133 #33B93E
square
#336BB9 #B933AE #B98133 #33B93E
split-complementary
#336BB9 #B93E33 #AEB933
monochromatic
#193459 #264F89 #336BB9 #588BD1 #88ACDE

Accessibility & contrast

On white

5.32
#336BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#336BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BB9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BB9#FFFFFF#000000##FFFFFF
##336BB91.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BC
Deuteranopia (green-blind)
#2F65B7
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336bb9;
/* rgb */ color: rgb(51, 107, 185);
/* oklch */ color: oklch(53.0% 0.136 257.3);
Tailwind
colors: {
  custom: {
    50: '#7c94ce',
    500: '#336bb9',
    950: '#000000',
  },
}
SCSS
$custom: #336bb9;
$custom-light: #7c94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336bb9",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 214.925,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.1363,
    "h": 257.3
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#336BB9
secondary
#C8AA80
accent
#A048E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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