#336B8F#336B8F

#336B8F is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.6% C 0.082 H 239.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#336B8F
RGBrgb(51, 107, 143)
HSLhsl(203, 47%, 38%)
HSVhsv(203, 64%, 56%)
CMYKcmyk(64.3%, 25.2%, 0%, 43.9%)
CIE-LABlab(43.06, -6.73, -25.22)
CIE-LCHlch(43.06, 26.11, 255.07°)
OKLaboklab(50.61% -0.0418 -0.0708)
OKLCHoklch(50.61% 0.082 239.4)
XYZxyz(11.5790, 13.2012, 27.9191)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B8F #8F5733
analogous
#338F85 #336B8F #333D8F
triadic
#336B8F #8F336B #6B8F33
tetradic
#336B8F #85338F #8F5733 #3D8F33
square
#336B8F #85338F #8F5733 #3D8F33
split-complementary
#336B8F #8F333D #8F8533
monochromatic
#132735 #234962 #336B8F #438DBC #70A8CC

Accessibility & contrast

On white

5.77
#336B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#336B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B8F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B8F#FFFFFF#000000##FFFFFF
##336B8F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B91
Deuteranopia (green-blind)
#4E628E
Tritanopia (blue-blind)
#007477
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #336b8f;
/* rgb */ color: rgb(51, 107, 143);
/* oklch */ color: oklch(50.6% 0.082 239.4);
Tailwind
colors: {
  custom: {
    50: '#7495b0',
    500: '#336b8f',
    950: '#000000',
  },
}
SCSS
$custom: #336b8f;
$custom-light: #7495b0;
$custom-dark: #000000;
JSON
{
  "hex": "#336b8f",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 143
  },
  "hsl": {
    "h": 203.478,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.08226,
    "h": 239.4
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#336B8F
secondary
#B4876A
accent
#8551D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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