#336BA8#336BA8

#336BA8 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 52.0% C 0.114 H 252.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#336BA8
RGBrgb(51, 107, 168)
HSLhsl(211, 53%, 43%)
HSVhsv(211, 70%, 66%)
CMYKcmyk(69.6%, 36.3%, 0%, 34.1%)
CIE-LABlab(44.30, 2.18, -38.11)
CIE-LCHlch(44.30, 38.17, 273.28°)
OKLaboklab(51.98% -0.034 -0.1083)
OKLCHoklch(51.98% 0.114 252.5)
XYZxyz(13.6882, 14.0449, 39.0277)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BA8 #A87033
analogous
#33A5A8 #336BA8 #3533A8
triadic
#336BA8 #A8336B #6BA833
tetradic
#336BA8 #A833A5 #A87033 #33A835
square
#336BA8 #A833A5 #A87033 #33A835
split-complementary
#336BA8 #A83533 #A5A833
monochromatic
#162F4A #254D79 #336BA8 #4F89C9 #7EA9D8

Accessibility & contrast

On white

5.51
#336BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#336BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BA8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BA8#FFFFFF#000000##FFFFFF
##336BA81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506FAB
Deuteranopia (green-blind)
#3F64A7
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ba8;
/* rgb */ color: rgb(51, 107, 168);
/* oklch */ color: oklch(52.0% 0.114 252.5);
Tailwind
colors: {
  custom: {
    50: '#7895c2',
    500: '#336ba8',
    950: '#000000',
  },
}
SCSS
$custom: #336ba8;
$custom-light: #7895c2;
$custom-dark: #000000;
JSON
{
  "hex": "#336ba8",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 168
  },
  "hsl": {
    "h": 211.282,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.1135,
    "h": 252.5
  },
  "luminance": 0.14046
}

Semantic roles & 50–950 ramp

primary
#336BA8
secondary
#C19D76
accent
#974BDD
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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