#336C8E#336C8E

#336C8E is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 50.8% C 0.081 H 237.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#336C8E
RGBrgb(51, 108, 142)
HSLhsl(202, 47%, 38%)
HSVhsv(202, 64%, 56%)
CMYKcmyk(64.1%, 23.9%, 0%, 44.3%)
CIE-LABlab(43.33, -7.67, -24.21)
CIE-LCHlch(43.33, 25.40, 252.43°)
OKLaboklab(50.8% -0.0433 -0.0679)
OKLCHoklch(50.8% 0.081 237.5)
XYZxyz(11.6084, 13.3808, 27.5569)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C8E #8E5533
analogous
#338E82 #336C8E #333E8E
triadic
#336C8E #8E336C #6C8E33
tetradic
#336C8E #82338E #8E5533 #3E8E33
square
#336C8E #82338E #8E5533 #3E8E33
split-complementary
#336C8E #8E333E #8E8233
monochromatic
#132834 #234A61 #336C8E #438EBB #70A9CC

Accessibility & contrast

On white

5.71
#336C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336C8E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C8E#FFFFFF#000000##FFFFFF
##336C8E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C90
Deuteranopia (green-blind)
#50628D
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #336c8e;
/* rgb */ color: rgb(51, 108, 142);
/* oklch */ color: oklch(50.8% 0.081 237.5);
Tailwind
colors: {
  custom: {
    50: '#7496af',
    500: '#336c8e',
    950: '#000000',
  },
}
SCSS
$custom: #336c8e;
$custom-light: #7496af;
$custom-dark: #000000;
JSON
{
  "hex": "#336c8e",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 142
  },
  "hsl": {
    "h": 202.418,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.08055,
    "h": 237.5
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#336C8E
secondary
#B48569
accent
#8351D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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