#336BAC#336BAC

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

Color values

HEX#336BAC
RGBrgb(51, 107, 172)
HSLhsl(212, 54%, 44%)
HSVhsv(212, 70%, 67%)
CMYKcmyk(70.3%, 37.8%, 0%, 32.5%)
CIE-LABlab(44.51, 3.64, -40.11)
CIE-LCHlch(44.51, 40.28, 275.19°)
OKLaboklab(52.22% -0.033 -0.1141)
OKLCHoklch(52.22% 0.119 253.9)
XYZxyz(14.0666, 14.1963, 41.0205)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BAC #AC7433
analogous
#33A7AC #336BAC #3733AC
triadic
#336BAC #AC336B #6BAC33
tetradic
#336BAC #AC33A7 #AC7433 #33AC37
square
#336BAC #AC33A7 #AC7433 #33AC37
split-complementary
#336BAC #AC3733 #A7AC33
monochromatic
#17304E #254E7D #336BAC #518ACB #80A9D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336BAC#FFFFFF#000000##FFFFFF
##336BAC1.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)
#4E6FAF
Deuteranopia (green-blind)
#3C64AB
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336bac;
/* rgb */ color: rgb(51, 107, 172);
/* oklch */ color: oklch(52.2% 0.119 253.9);
Tailwind
colors: {
  custom: {
    50: '#7995c5',
    500: '#336bac',
    950: '#000000',
  },
}
SCSS
$custom: #336bac;
$custom-light: #7995c5;
$custom-dark: #000000;
JSON
{
  "hex": "#336bac",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 172
  },
  "hsl": {
    "h": 212.231,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.11882,
    "h": 253.9
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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