#336BA6#336BA6

#336BA6 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.9% C 0.111 H 251.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#336BA6
RGBrgb(51, 107, 166)
HSLhsl(211, 53%, 43%)
HSVhsv(211, 69%, 65%)
CMYKcmyk(69.3%, 35.5%, 0%, 34.9%)
CIE-LABlab(44.19, 1.45, -37.10)
CIE-LCHlch(44.19, 37.13, 272.24°)
OKLaboklab(51.86% -0.0346 -0.1053)
OKLCHoklch(51.86% 0.111 251.8)
XYZxyz(13.5033, 13.9710, 38.0540)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BA6 #A66E33
analogous
#33A4A6 #336BA6 #3533A6
triadic
#336BA6 #A6336B #6BA633
tetradic
#336BA6 #A633A4 #A66E33 #33A635
square
#336BA6 #A633A4 #A66E33 #33A635
split-complementary
#336BA6 #A63533 #A4A633
monochromatic
#162F48 #254D77 #336BA6 #4E89C9 #7CA9D7

Accessibility & contrast

On white

5.53
#336BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#336BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BA6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BA6#FFFFFF#000000##FFFFFF
##336BA61.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#4064A5
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336ba6;
/* rgb */ color: rgb(51, 107, 166);
/* oklch */ color: oklch(51.9% 0.111 251.8);
Tailwind
colors: {
  custom: {
    50: '#7895c1',
    500: '#336ba6',
    950: '#000000',
  },
}
SCSS
$custom: #336ba6;
$custom-light: #7895c1;
$custom-dark: #000000;
JSON
{
  "hex": "#336ba6",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 166
  },
  "hsl": {
    "h": 210.783,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.11085,
    "h": 251.8
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#336BA6
secondary
#C09B75
accent
#964BDC
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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