#336CAA#336CAA

#336CAA is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.3% C 0.115 H 252.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#336CAA
RGBrgb(51, 108, 170)
HSLhsl(211, 54%, 43%)
HSVhsv(211, 70%, 67%)
CMYKcmyk(70%, 36.5%, 0%, 33.3%)
CIE-LABlab(44.70, 2.29, -38.64)
CIE-LCHlch(44.70, 38.71, 273.39°)
OKLaboklab(52.33% -0.0345 -0.1098)
OKLCHoklch(52.33% 0.115 252.5)
XYZxyz(13.9808, 14.3297, 40.0515)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CAA #AA7133
analogous
#33A7AA #336CAA #3633AA
triadic
#336CAA #AA336C #6CAA33
tetradic
#336CAA #AA33A7 #AA7133 #33AA36
square
#336CAA #AA33A7 #AA7133 #33AA36
split-complementary
#336CAA #AA3633 #A7AA33
monochromatic
#17304C #254E7B #336CAA #508BCA #7FAAD9

Accessibility & contrast

On white

5.43
#336CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#336CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CAA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CAA#FFFFFF#000000##FFFFFF
##336CAA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5070AD
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336caa;
/* rgb */ color: rgb(51, 108, 170);
/* oklch */ color: oklch(52.3% 0.115 252.5);
Tailwind
colors: {
  custom: {
    50: '#7995c3',
    500: '#336caa',
    950: '#000000',
  },
}
SCSS
$custom: #336caa;
$custom-light: #7995c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336caa",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 170
  },
  "hsl": {
    "h": 211.261,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.11511,
    "h": 252.5
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#336CAA
secondary
#C29E77
accent
#974BDD
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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