#336CA6#336CA6

#336CA6 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 52.1% C 0.110 H 251.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#336CA6
RGBrgb(51, 108, 166)
HSLhsl(210, 53%, 43%)
HSVhsv(210, 69%, 65%)
CMYKcmyk(69.3%, 34.9%, 0%, 34.9%)
CIE-LABlab(44.49, 0.83, -36.63)
CIE-LCHlch(44.49, 36.64, 271.31°)
OKLaboklab(52.1% -0.0356 -0.1039)
OKLCHoklch(52.1% 0.11 251.1)
XYZxyz(13.6082, 14.1807, 38.0890)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CA6 #A66D33
analogous
#33A5A6 #336CA6 #3433A6
triadic
#336CA6 #A6336C #6CA633
tetradic
#336CA6 #A633A5 #A66D33 #33A634
square
#336CA6 #A633A5 #A66D33 #33A634
split-complementary
#336CA6 #A63433 #A5A633
monochromatic
#162F48 #254E77 #336CA6 #4E8BC9 #7CA9D7

Accessibility & contrast

On white

5.47
#336CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#336CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CA6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CA6#FFFFFF#000000##FFFFFF
##336CA61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526FA8
Deuteranopia (green-blind)
#4264A5
Tritanopia (blue-blind)
#007A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ca6;
/* rgb */ color: rgb(51, 108, 166);
/* oklch */ color: oklch(52.1% 0.110 251.1);
Tailwind
colors: {
  custom: {
    50: '#7895c0',
    500: '#336ca6',
    950: '#000000',
  },
}
SCSS
$custom: #336ca6;
$custom-light: #7895c0;
$custom-dark: #000000;
JSON
{
  "hex": "#336ca6",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 166
  },
  "hsl": {
    "h": 210.261,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.10986,
    "h": 251.1
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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