#336F8D#336F8D

#336F8D is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.5% C 0.078 H 232.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#336F8D
RGBrgb(51, 111, 141)
HSLhsl(200, 47%, 38%)
HSVhsv(200, 64%, 55%)
CMYKcmyk(63.8%, 21.3%, 0%, 44.7%)
CIE-LABlab(44.23, -9.77, -22.23)
CIE-LCHlch(44.23, 24.28, 246.28°)
OKLaboklab(51.5% -0.0471 -0.0622)
OKLCHoklch(51.5% 0.078 232.9)
XYZxyz(11.8555, 13.9946, 27.2706)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F8D #8D5133
analogous
#338D7E #336F8D #33428D
triadic
#336F8D #8D336F #6F8D33
tetradic
#336F8D #7E338D #8D5133 #428D33
square
#336F8D #7E338D #8D5133 #428D33
split-complementary
#336F8D #8D3342 #8D7E33
monochromatic
#122833 #234C60 #336F8D #4392BA #6FACCB

Accessibility & contrast

On white

5.53
#336F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#336F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F8D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F8D#FFFFFF#000000##FFFFFF
##336F8D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606E8E
Deuteranopia (green-blind)
#54658D
Tritanopia (blue-blind)
#007779
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336f8d;
/* rgb */ color: rgb(51, 111, 141);
/* oklch */ color: oklch(51.5% 0.078 232.9);
Tailwind
colors: {
  custom: {
    50: '#7498ae',
    500: '#336f8d',
    950: '#000000',
  },
}
SCSS
$custom: #336f8d;
$custom-light: #7498ae;
$custom-dark: #000000;
JSON
{
  "hex": "#336f8d",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 141
  },
  "hsl": {
    "h": 200,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51499,
    "c": 0.07803,
    "h": 232.9
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#336F8D
secondary
#B38269
accent
#7E51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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