#336AA3#336AA3

#336AA3 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.5% C 0.108 H 251.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#336AA3
RGBrgb(51, 106, 163)
HSLhsl(211, 52%, 42%)
HSVhsv(211, 69%, 64%)
CMYKcmyk(68.7%, 35%, 0%, 36.1%)
CIE-LABlab(43.73, 0.98, -36.05)
CIE-LCHlch(43.73, 36.07, 271.56°)
OKLaboklab(51.45% -0.0344 -0.1023)
OKLCHoklch(51.45% 0.108 251.4)
XYZxyz(13.1277, 13.6549, 36.5870)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AA3 #A36C33
analogous
#33A2A3 #336AA3 #3433A3
triadic
#336AA3 #A3336A #6AA333
tetradic
#336AA3 #A333A2 #A36C33 #33A334
square
#336AA3 #A333A2 #A36C33 #33A334
split-complementary
#336AA3 #A33433 #A2A333
monochromatic
#162D46 #244C74 #336AA3 #4C89C7 #7BA7D6

Accessibility & contrast

On white

5.63
#336AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#336AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AA3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AA3#FFFFFF#000000##FFFFFF
##336AA31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#4163A2
Tritanopia (blue-blind)
#00777F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336aa3;
/* rgb */ color: rgb(51, 106, 163);
/* oklch */ color: oklch(51.5% 0.108 251.4);
Tailwind
colors: {
  custom: {
    50: '#7794be',
    500: '#336aa3',
    950: '#000000',
  },
}
SCSS
$custom: #336aa3;
$custom-light: #7794be;
$custom-dark: #000000;
JSON
{
  "hex": "#336aa3",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 163
  },
  "hsl": {
    "h": 210.536,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.10791,
    "h": 251.4
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#336AA3
secondary
#BE9A73
accent
#954CDC
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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