#336DB9#336DB9

#336DB9 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.5% C 0.134 H 256.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#336DB9
RGBrgb(51, 109, 185)
HSLhsl(214, 57%, 46%)
HSVhsv(214, 72%, 73%)
CMYKcmyk(72.4%, 41.1%, 0%, 27.5%)
CIE-LABlab(45.83, 7.18, -45.60)
CIE-LCHlch(45.83, 46.17, 278.95°)
OKLaboklab(53.48% -0.0319 -0.1302)
OKLCHoklch(53.48% 0.134 256.3)
XYZxyz(15.5876, 15.1422, 47.9908)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DB9 #B97F33
analogous
#33B0B9 #336DB9 #3C33B9
triadic
#336DB9 #B9336D #6DB933
tetradic
#336DB9 #B933B0 #B97F33 #33B93C
square
#336DB9 #B933B0 #B97F33 #33B93C
split-complementary
#336DB9 #B93C33 #B0B933
monochromatic
#193459 #265189 #336DB9 #588CD1 #88ADDE

Accessibility & contrast

On white

5.21
#336DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#336DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DB9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DB9#FFFFFF#000000##FFFFFF
##336DB91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BC
Deuteranopia (green-blind)
#3367B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336db9;
/* rgb */ color: rgb(51, 109, 185);
/* oklch */ color: oklch(53.5% 0.134 256.3);
Tailwind
colors: {
  custom: {
    50: '#7b96ce',
    500: '#336db9',
    950: '#000000',
  },
}
SCSS
$custom: #336db9;
$custom-light: #7b96ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336db9",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 185
  },
  "hsl": {
    "h": 214.03,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.13405,
    "h": 256.3
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#336DB9
secondary
#C8A980
accent
#9E48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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