#336B8A#336B8A

#336B8A is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.4% C 0.077 H 235.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#336B8A
RGBrgb(51, 107, 138)
HSLhsl(201, 46%, 37%)
HSVhsv(201, 63%, 54%)
CMYKcmyk(63%, 22.5%, 0%, 45.9%)
CIE-LABlab(42.84, -8.44, -22.58)
CIE-LCHlch(42.84, 24.10, 249.50°)
OKLaboklab(50.36% -0.0437 -0.0632)
OKLCHoklch(50.36% 0.077 235.4)
XYZxyz(11.2086, 13.0531, 25.9686)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B8A #8A5233
analogous
#338A7E #336B8A #33408A
triadic
#336B8A #8A336B #6B8A33
tetradic
#336B8A #7E338A #8A5233 #408A33
square
#336B8A #7E338A #8A5233 #408A33
split-complementary
#336B8A #8A3340 #8A7E33
monochromatic
#122631 #22485D #336B8A #448EB7 #6EA9C9

Accessibility & contrast

On white

5.82
#336B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#336B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B8A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B8A#FFFFFF#000000##FFFFFF
##336B8A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#007375
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336b8a;
/* rgb */ color: rgb(51, 107, 138);
/* oklch */ color: oklch(50.4% 0.077 235.4);
Tailwind
colors: {
  custom: {
    50: '#7395ac',
    500: '#336b8a',
    950: '#000000',
  },
}
SCSS
$custom: #336b8a;
$custom-light: #7395ac;
$custom-dark: #000000;
JSON
{
  "hex": "#336b8a",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 138
  },
  "hsl": {
    "h": 201.379,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50358,
    "c": 0.07682,
    "h": 235.4
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#336B8A
secondary
#B18267
accent
#8152D6
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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