#336D9F#336D9F

#336D9F is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.9% C 0.100 H 247.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#336D9F
RGBrgb(51, 109, 159)
HSLhsl(208, 51%, 41%)
HSVhsv(208, 68%, 62%)
CMYKcmyk(67.9%, 31.4%, 0%, 37.6%)
CIE-LABlab(44.44, -2.30, -32.59)
CIE-LCHlch(44.44, 32.67, 265.96°)
OKLaboklab(51.94% -0.0387 -0.0921)
OKLCHoklch(51.94% 0.1 247.2)
XYZxyz(13.0895, 14.1429, 34.8342)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D9F #9F6533
analogous
#339F9B #336D9F #33379F
triadic
#336D9F #9F336D #6D9F33
tetradic
#336D9F #9B339F #9F6533 #379F33
square
#336D9F #9B339F #9F6533 #379F33
split-complementary
#336D9F #9F3337 #9F9B33
monochromatic
#152D42 #244D71 #336D9F #4A8CC5 #79AAD4

Accessibility & contrast

On white

5.48
#336D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#336D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D9F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D9F#FFFFFF#000000##FFFFFF
##336D9F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576FA1
Deuteranopia (green-blind)
#48649E
Tritanopia (blue-blind)
#00797F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336d9f;
/* rgb */ color: rgb(51, 109, 159);
/* oklch */ color: oklch(51.9% 0.100 247.2);
Tailwind
colors: {
  custom: {
    50: '#7796bb',
    500: '#336d9f',
    950: '#000000',
  },
}
SCSS
$custom: #336d9f;
$custom-light: #7796bb;
$custom-dark: #000000;
JSON
{
  "hex": "#336d9f",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 159
  },
  "hsl": {
    "h": 207.778,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.09994,
    "h": 247.2
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#336D9F
secondary
#BC9471
accent
#8F4DDB
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #336D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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