#336D9E#336D9E

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

Color values

HEX#336D9E
RGBrgb(51, 109, 158)
HSLhsl(207, 51%, 41%)
HSVhsv(207, 68%, 62%)
CMYKcmyk(67.7%, 31%, 0%, 38%)
CIE-LABlab(44.39, -2.66, -32.07)
CIE-LCHlch(44.39, 32.18, 265.26°)
OKLaboklab(51.89% -0.039 -0.0906)
OKLCHoklch(51.89% 0.099 246.7)
XYZxyz(13.0031, 14.1084, 34.3790)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D9E #9E6433
analogous
#339E99 #336D9E #33379E
triadic
#336D9E #9E336D #6D9E33
tetradic
#336D9E #99339E #9E6433 #379E33
square
#336D9E #99339E #9E6433 #379E33
split-complementary
#336D9E #9E3337 #9E9933
monochromatic
#152D41 #244D70 #336D9E #4A8CC4 #78AAD3

Accessibility & contrast

On white

5.49
#336D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#336D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D9E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D9E#FFFFFF#000000##FFFFFF
##336D9E1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576FA0
Deuteranopia (green-blind)
#49649D
Tritanopia (blue-blind)
#00797E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336d9e;
/* rgb */ color: rgb(51, 109, 158);
/* oklch */ color: oklch(51.9% 0.099 246.7);
Tailwind
colors: {
  custom: {
    50: '#7796bb',
    500: '#336d9e',
    950: '#000000',
  },
}
SCSS
$custom: #336d9e;
$custom-light: #7796bb;
$custom-dark: #000000;
JSON
{
  "hex": "#336d9e",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 158
  },
  "hsl": {
    "h": 207.477,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51885,
    "c": 0.09869,
    "h": 246.7
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#336D9E
secondary
#BC9371
accent
#8E4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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