#336EB9#336EB9

#336EB9 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.133 H 255.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#336EB9
RGBrgb(51, 110, 185)
HSLhsl(214, 57%, 46%)
HSVhsv(214, 72%, 73%)
CMYKcmyk(72.4%, 40.5%, 0%, 27.5%)
CIE-LABlab(46.12, 6.56, -45.14)
CIE-LCHlch(46.12, 45.62, 278.26°)
OKLaboklab(53.71% -0.0328 -0.1288)
OKLCHoklch(53.71% 0.133 255.7)
XYZxyz(15.6949, 15.3567, 48.0265)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EB9 #B97E33
analogous
#33B1B9 #336EB9 #3B33B9
triadic
#336EB9 #B9336E #6EB933
tetradic
#336EB9 #B933B1 #B97E33 #33B93B
square
#336EB9 #B933B1 #B97E33 #33B93B
split-complementary
#336EB9 #B93B33 #B1B933
monochromatic
#193559 #265189 #336EB9 #588DD1 #88AEDE

Accessibility & contrast

On white

5.16
#336EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#336EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EB9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EB9#FFFFFF#000000##FFFFFF
##336EB91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BC
Deuteranopia (green-blind)
#3568B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336eb9;
/* rgb */ color: rgb(51, 110, 185);
/* oklch */ color: oklch(53.7% 0.133 255.7);
Tailwind
colors: {
  custom: {
    50: '#7b97ce',
    500: '#336eb9',
    950: '#000000',
  },
}
SCSS
$custom: #336eb9;
$custom-light: #7b97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336eb9",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 185
  },
  "hsl": {
    "h": 213.582,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.13293,
    "h": 255.7
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#336EB9
secondary
#C8A880
accent
#9D48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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