#336E9D#336E9D

#336E9D is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.1% C 0.097 H 245.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#336E9D
RGBrgb(51, 110, 157)
HSLhsl(207, 51%, 41%)
HSVhsv(207, 68%, 62%)
CMYKcmyk(67.5%, 29.9%, 0%, 38.4%)
CIE-LABlab(44.64, -3.62, -31.08)
CIE-LCHlch(44.64, 31.29, 263.36°)
OKLaboklab(52.07% -0.0404 -0.0877)
OKLCHoklch(52.07% 0.097 245.3)
XYZxyz(13.0247, 14.2886, 33.9633)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E9D #9D6233
analogous
#339D97 #336E9D #33399D
triadic
#336E9D #9D336E #6E9D33
tetradic
#336E9D #97339D #9D6233 #399D33
square
#336E9D #97339D #9D6233 #399D33
split-complementary
#336E9D #9D3339 #9D9733
monochromatic
#152D41 #244E6F #336E9D #498EC4 #77AAD3

Accessibility & contrast

On white

5.44
#336E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#336E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E9D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E9D#FFFFFF#000000##FFFFFF
##336E9D1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596F9F
Deuteranopia (green-blind)
#4B659C
Tritanopia (blue-blind)
#00797E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336e9d;
/* rgb */ color: rgb(51, 110, 157);
/* oklch */ color: oklch(52.1% 0.097 245.3);
Tailwind
colors: {
  custom: {
    50: '#7697ba',
    500: '#336e9d',
    950: '#000000',
  },
}
SCSS
$custom: #336e9d;
$custom-light: #7697ba;
$custom-dark: #000000;
JSON
{
  "hex": "#336e9d",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 157
  },
  "hsl": {
    "h": 206.604,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.0966,
    "h": 245.3
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#336E9D
secondary
#BB9270
accent
#8C4DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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