#336E8B#336E8B

#336E8B is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.2% C 0.076 H 232.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#336E8B
RGBrgb(51, 110, 139)
HSLhsl(200, 46%, 37%)
HSVhsv(200, 63%, 55%)
CMYKcmyk(63.3%, 20.9%, 0%, 45.5%)
CIE-LABlab(43.83, -9.86, -21.65)
CIE-LCHlch(43.83, 23.79, 245.51°)
OKLaboklab(51.15% -0.0467 -0.0605)
OKLCHoklch(51.15% 0.076 232.3)
XYZxyz(11.5996, 13.7186, 26.4577)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E8B #8B5033
analogous
#338B7C #336E8B #33428B
triadic
#336E8B #8B336E #6E8B33
tetradic
#336E8B #7C338B #8B5033 #428B33
square
#336E8B #7C338B #8B5033 #428B33
split-complementary
#336E8B #8B3342 #8B7C33
monochromatic
#122731 #234B5E #336E8B #4391B8 #6EACCA

Accessibility & contrast

On white

5.61
#336E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#336E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E8B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E8B#FFFFFF#000000##FFFFFF
##336E8B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336e8b;
/* rgb */ color: rgb(51, 110, 139);
/* oklch */ color: oklch(51.2% 0.076 232.3);
Tailwind
colors: {
  custom: {
    50: '#7497ad',
    500: '#336e8b',
    950: '#000000',
  },
}
SCSS
$custom: #336e8b;
$custom-light: #7497ad;
$custom-dark: #000000;
JSON
{
  "hex": "#336e8b",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 139
  },
  "hsl": {
    "h": 199.773,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.07649,
    "h": 232.3
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#336E8B
secondary
#B28068
accent
#7D52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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