#336D9D#336D9D

#336D9D is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.8% C 0.097 H 246.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#336D9D
RGBrgb(51, 109, 157)
HSLhsl(207, 51%, 41%)
HSVhsv(207, 68%, 62%)
CMYKcmyk(67.5%, 30.6%, 0%, 38.4%)
CIE-LABlab(44.34, -3.01, -31.56)
CIE-LCHlch(44.34, 31.70, 264.55°)
OKLaboklab(51.83% -0.0393 -0.0891)
OKLCHoklch(51.83% 0.097 246.2)
XYZxyz(12.9174, 14.0741, 33.9276)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D9D #9D6333
analogous
#339D98 #336D9D #33389D
triadic
#336D9D #9D336D #6D9D33
tetradic
#336D9D #98339D #9D6333 #389D33
square
#336D9D #98339D #9D6333 #389D33
split-complementary
#336D9D #9D3338 #9D9833
monochromatic
#152D41 #244D6F #336D9D #498CC4 #77AAD3

Accessibility & contrast

On white

5.50
#336D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#336D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D9D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D9D#FFFFFF#000000##FFFFFF
##336D9D1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586F9F
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#00797E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336d9d;
/* rgb */ color: rgb(51, 109, 157);
/* oklch */ color: oklch(51.8% 0.097 246.2);
Tailwind
colors: {
  custom: {
    50: '#7696ba',
    500: '#336d9d',
    950: '#000000',
  },
}
SCSS
$custom: #336d9d;
$custom-light: #7696ba;
$custom-dark: #000000;
JSON
{
  "hex": "#336d9d",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 157
  },
  "hsl": {
    "h": 207.17,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.09743,
    "h": 246.2
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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