#336CAC#336CAC

#336CAC is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.118 H 253.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#336CAC
RGBrgb(51, 108, 172)
HSLhsl(212, 54%, 44%)
HSVhsv(212, 70%, 67%)
CMYKcmyk(70.3%, 37.2%, 0%, 32.5%)
CIE-LABlab(44.81, 3.02, -39.64)
CIE-LCHlch(44.81, 39.76, 274.36°)
OKLaboklab(52.45% -0.034 -0.1127)
OKLCHoklch(52.45% 0.118 253.2)
XYZxyz(14.1714, 14.4060, 41.0555)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CAC #AC7333
analogous
#33A8AC #336CAC #3733AC
triadic
#336CAC #AC336C #6CAC33
tetradic
#336CAC #AC33A8 #AC7333 #33AC37
square
#336CAC #AC33A8 #AC7333 #33AC37
split-complementary
#336CAC #AC3733 #A8AC33
monochromatic
#17314E #254E7D #336CAC #518BCB #80AAD9

Accessibility & contrast

On white

5.41
#336CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#336CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CAC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CAC#FFFFFF#000000##FFFFFF
##336CAC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AF
Deuteranopia (green-blind)
#3D65AB
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336cac;
/* rgb */ color: rgb(51, 108, 172);
/* oklch */ color: oklch(52.5% 0.118 253.2);
Tailwind
colors: {
  custom: {
    50: '#7995c5',
    500: '#336cac',
    950: '#000000',
  },
}
SCSS
$custom: #336cac;
$custom-light: #7995c5;
$custom-dark: #000000;
JSON
{
  "hex": "#336cac",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 172
  },
  "hsl": {
    "h": 211.736,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.11776,
    "h": 253.2
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#336CAC
secondary
#C2A078
accent
#984ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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