#336FAA#336FAA

#336FAA is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.112 H 250.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#336FAA
RGBrgb(51, 111, 170)
HSLhsl(210, 54%, 43%)
HSVhsv(210, 70%, 67%)
CMYKcmyk(70%, 34.7%, 0%, 33.3%)
CIE-LABlab(45.60, 0.44, -37.23)
CIE-LCHlch(45.60, 37.23, 270.68°)
OKLaboklab(53.04% -0.0375 -0.1056)
OKLCHoklch(53.04% 0.112 250.4)
XYZxyz(14.3027, 14.9734, 40.1588)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FAA #AA6E33
analogous
#33AAA9 #336FAA #3333AA
triadic
#336FAA #AA336F #6FAA33
tetradic
#336FAA #A933AA #AA6E33 #33AA33
square
#336FAA #A933AA #AA6E33 #33AA33
split-complementary
#336FAA #AA3333 #AAA933
monochromatic
#17324C #25507B #336FAA #508ECA #7FACD9

Accessibility & contrast

On white

5.26
#336FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#336FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FAA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FAA#FFFFFF#000000##FFFFFF
##336FAA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5572AC
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336faa;
/* rgb */ color: rgb(51, 111, 170);
/* oklch */ color: oklch(53.0% 0.112 250.4);
Tailwind
colors: {
  custom: {
    50: '#7998c3',
    500: '#336faa',
    950: '#000000',
  },
}
SCSS
$custom: #336faa;
$custom-light: #7998c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336faa",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 170
  },
  "hsl": {
    "h": 209.748,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.11211,
    "h": 250.4
  },
  "luminance": 0.14975
}

Semantic roles & 50–950 ramp

primary
#336FAA
secondary
#C29C77
accent
#934BDD
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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