#336D8A#336D8A

#336D8A is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 50.9% C 0.076 H 232.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#336D8A
RGBrgb(51, 109, 138)
HSLhsl(200, 46%, 37%)
HSVhsv(200, 63%, 54%)
CMYKcmyk(63%, 21%, 0%, 45.9%)
CIE-LABlab(43.47, -9.62, -21.61)
CIE-LCHlch(43.47, 23.65, 246.01°)
OKLaboklab(50.86% -0.046 -0.0604)
OKLCHoklch(50.86% 0.076 232.7)
XYZxyz(11.4196, 13.4749, 26.0389)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D8A #8A5033
analogous
#338A7C #336D8A #33428A
triadic
#336D8A #8A336D #6D8A33
tetradic
#336D8A #7C338A #8A5033 #428A33
square
#336D8A #7C338A #8A5033 #428A33
split-complementary
#336D8A #8A3342 #8A7C33
monochromatic
#122631 #224A5D #336D8A #4490B7 #6EABC9

Accessibility & contrast

On white

5.68
#336D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#336D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D8A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D8A#FFFFFF#000000##FFFFFF
##336D8A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8B
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336d8a;
/* rgb */ color: rgb(51, 109, 138);
/* oklch */ color: oklch(50.9% 0.076 232.7);
Tailwind
colors: {
  custom: {
    50: '#7496ac',
    500: '#336d8a',
    950: '#000000',
  },
}
SCSS
$custom: #336d8a;
$custom-light: #7496ac;
$custom-dark: #000000;
JSON
{
  "hex": "#336d8a",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 200,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.07591,
    "h": 232.7
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#336D8A
secondary
#B18067
accent
#7E52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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