#336B9C#336B9C

#336B9C is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.3% C 0.098 H 247.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#336B9C
RGBrgb(51, 107, 156)
HSLhsl(208, 51%, 41%)
HSVhsv(208, 67%, 61%)
CMYKcmyk(67.3%, 31.4%, 0%, 38.8%)
CIE-LABlab(43.68, -2.15, -32.00)
CIE-LCHlch(43.68, 32.07, 266.15°)
OKLaboklab(51.3% -0.0375 -0.0904)
OKLCHoklch(51.3% 0.098 247.5)
XYZxyz(12.6214, 13.6182, 33.4095)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B9C #9C6433
analogous
#339C98 #336B9C #33369C
triadic
#336B9C #9C336B #6B9C33
tetradic
#336B9C #98339C #9C6433 #369C33
square
#336B9C #98339C #9C6433 #369C33
split-complementary
#336B9C #9C3336 #9C9833
monochromatic
#152C40 #244B6E #336B9C #498AC3 #77A8D3

Accessibility & contrast

On white

5.64
#336B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#336B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B9C
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B9C#FFFFFF#000000##FFFFFF
##336B9C1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556D9E
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#00777C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336b9c;
/* rgb */ color: rgb(51, 107, 156);
/* oklch */ color: oklch(51.3% 0.098 247.5);
Tailwind
colors: {
  custom: {
    50: '#7695b9',
    500: '#336b9c',
    950: '#000000',
  },
}
SCSS
$custom: #336b9c;
$custom-light: #7695b9;
$custom-dark: #000000;
JSON
{
  "hex": "#336b9c",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 156
  },
  "hsl": {
    "h": 208,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.09792,
    "h": 247.5
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#336B9C
secondary
#BB9370
accent
#8F4EDA
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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