#336FB9#336FB9

#336FB9 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.132 H 255.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#336FB9
RGBrgb(51, 111, 185)
HSLhsl(213, 57%, 46%)
HSVhsv(213, 72%, 73%)
CMYKcmyk(72.4%, 40%, 0%, 27.5%)
CIE-LABlab(46.41, 5.93, -44.68)
CIE-LCHlch(46.41, 45.07, 277.56°)
OKLaboklab(53.94% -0.0337 -0.1274)
OKLCHoklch(53.94% 0.132 255.2)
XYZxyz(15.8034, 15.5737, 48.0627)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FB9 #B97D33
analogous
#33B2B9 #336FB9 #3A33B9
triadic
#336FB9 #B9336F #6FB933
tetradic
#336FB9 #B933B2 #B97D33 #33B93A
square
#336FB9 #B933B2 #B97D33 #33B93A
split-complementary
#336FB9 #B93A33 #B2B933
monochromatic
#193559 #265289 #336FB9 #588ED1 #88AFDE

Accessibility & contrast

On white

5.10
#336FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#336FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FB9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FB9#FFFFFF#000000##FFFFFF
##336FB91.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BC
Deuteranopia (green-blind)
#3768B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336fb9;
/* rgb */ color: rgb(51, 111, 185);
/* oklch */ color: oklch(53.9% 0.132 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b97ce',
    500: '#336fb9',
    950: '#000000',
  },
}
SCSS
$custom: #336fb9;
$custom-light: #7b97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336fb9",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 185
  },
  "hsl": {
    "h": 213.134,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53935,
    "c": 0.13184,
    "h": 255.2
  },
  "luminance": 0.15575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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