#336D8B#336D8B

#336D8B is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 50.9% C 0.077 H 233.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#336D8B
RGBrgb(51, 109, 139)
HSLhsl(200, 46%, 37%)
HSVhsv(200, 63%, 55%)
CMYKcmyk(63.3%, 21.6%, 0%, 45.5%)
CIE-LABlab(43.51, -9.28, -22.14)
CIE-LCHlch(43.51, 24.00, 247.26°)
OKLaboklab(50.9% -0.0456 -0.0619)
OKLCHoklch(50.9% 0.077 233.7)
XYZxyz(11.4923, 13.5040, 26.4220)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D8B #8B5133
analogous
#338B7D #336D8B #33418B
triadic
#336D8B #8B336D #6D8B33
tetradic
#336D8B #7D338B #8B5133 #418B33
square
#336D8B #7D338B #8B5133 #418B33
split-complementary
#336D8B #8B3341 #8B7D33
monochromatic
#122731 #234A5E #336D8B #4390B8 #6EABCA

Accessibility & contrast

On white

5.67
#336D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#336D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D8B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D8B#FFFFFF#000000##FFFFFF
##336D8B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8C
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336d8b;
/* rgb */ color: rgb(51, 109, 139);
/* oklch */ color: oklch(50.9% 0.077 233.7);
Tailwind
colors: {
  custom: {
    50: '#7496ad',
    500: '#336d8b',
    950: '#000000',
  },
}
SCSS
$custom: #336d8b;
$custom-light: #7496ad;
$custom-dark: #000000;
JSON
{
  "hex": "#336d8b",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 139
  },
  "hsl": {
    "h": 200.455,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.0769,
    "h": 233.7
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#336D8B
secondary
#B28168
accent
#7F52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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