#336C8F#336C8F

#336C8F is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 50.9% C 0.082 H 238.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#336C8F
RGBrgb(51, 108, 143)
HSLhsl(203, 47%, 38%)
HSVhsv(203, 64%, 56%)
CMYKcmyk(64.3%, 24.5%, 0%, 43.9%)
CIE-LABlab(43.38, -7.32, -24.74)
CIE-LCHlch(43.38, 25.80, 253.52°)
OKLaboklab(50.85% -0.043 -0.0694)
OKLCHoklch(50.85% 0.082 238.2)
XYZxyz(11.6838, 13.4109, 27.9541)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C8F #8F5633
analogous
#338F84 #336C8F #333E8F
triadic
#336C8F #8F336C #6C8F33
tetradic
#336C8F #84338F #8F5633 #3E8F33
square
#336C8F #84338F #8F5633 #3E8F33
split-complementary
#336C8F #8F333E #8F8433
monochromatic
#132835 #234A62 #336C8F #438EBC #70A9CC

Accessibility & contrast

On white

5.70
#336C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#336C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C8F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C8F#FFFFFF#000000##FFFFFF
##336C8F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C91
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#007578
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #336c8f;
/* rgb */ color: rgb(51, 108, 143);
/* oklch */ color: oklch(50.9% 0.082 238.2);
Tailwind
colors: {
  custom: {
    50: '#7496b0',
    500: '#336c8f',
    950: '#000000',
  },
}
SCSS
$custom: #336c8f;
$custom-light: #7496b0;
$custom-dark: #000000;
JSON
{
  "hex": "#336c8f",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 143
  },
  "hsl": {
    "h": 202.826,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50853,
    "c": 0.08164,
    "h": 238.2
  },
  "luminance": 0.13412
}

Semantic roles & 50–950 ramp

primary
#336C8F
secondary
#B4866A
accent
#8451D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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