#336AAA#336AAA

#336AAA is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.9% C 0.117 H 253.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#336AAA
RGBrgb(51, 106, 170)
HSLhsl(212, 54%, 43%)
HSVhsv(212, 70%, 67%)
CMYKcmyk(70%, 37.6%, 0%, 33.3%)
CIE-LABlab(44.11, 3.54, -39.58)
CIE-LCHlch(44.11, 39.74, 275.10°)
OKLaboklab(51.87% -0.0325 -0.1126)
OKLCHoklch(51.87% 0.117 253.9)
XYZxyz(13.7723, 13.9127, 39.9820)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AAA #AA7333
analogous
#33A5AA #336AAA #3733AA
triadic
#336AAA #AA336A #6AAA33
tetradic
#336AAA #AA33A5 #AA7333 #33AA37
square
#336AAA #AA33A5 #AA7333 #33AA37
split-complementary
#336AAA #AA3733 #A5AA33
monochromatic
#172F4C #254D7B #336AAA #5088CA #7FA8D9

Accessibility & contrast

On white

5.55
#336AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#336AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AAA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AAA#FFFFFF#000000##FFFFFF
##336AAA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#3C63A9
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336aaa;
/* rgb */ color: rgb(51, 106, 170);
/* oklch */ color: oklch(51.9% 0.117 253.9);
Tailwind
colors: {
  custom: {
    50: '#7994c3',
    500: '#336aaa',
    950: '#000000',
  },
}
SCSS
$custom: #336aaa;
$custom-light: #7994c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336aaa",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 212.269,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.1172,
    "h": 253.9
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#336AAA
secondary
#C29F77
accent
#994BDD
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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