#336AA2#336AA2

#336AA2 is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.4% C 0.107 H 251.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#336AA2
RGBrgb(51, 106, 162)
HSLhsl(210, 52%, 42%)
HSVhsv(210, 69%, 64%)
CMYKcmyk(68.5%, 34.6%, 0%, 36.5%)
CIE-LABlab(43.68, 0.62, -35.55)
CIE-LCHlch(43.68, 35.55, 271.00°)
OKLaboklab(51.4% -0.0347 -0.1008)
OKLCHoklch(51.4% 0.107 251)
XYZxyz(13.0384, 13.6192, 36.1170)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AA2 #A26B33
analogous
#33A2A2 #336AA2 #3333A2
triadic
#336AA2 #A2336A #6AA233
tetradic
#336AA2 #A233A2 #A26B33 #33A233
square
#336AA2 #A233A2 #A26B33 #33A233
split-complementary
#336AA2 #A23333 #A2A233
monochromatic
#162D45 #244C73 #336AA2 #4C89C7 #7AA7D5

Accessibility & contrast

On white

5.64
#336AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#336AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AA2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AA2#FFFFFF#000000##FFFFFF
##336AA21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516DA4
Deuteranopia (green-blind)
#4262A1
Tritanopia (blue-blind)
#00777E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336aa2;
/* rgb */ color: rgb(51, 106, 162);
/* oklch */ color: oklch(51.4% 0.107 251.0);
Tailwind
colors: {
  custom: {
    50: '#7794be',
    500: '#336aa2',
    950: '#000000',
  },
}
SCSS
$custom: #336aa2;
$custom-light: #7794be;
$custom-dark: #000000;
JSON
{
  "hex": "#336aa2",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 162
  },
  "hsl": {
    "h": 210.27,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.1066,
    "h": 251
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#336AA2
secondary
#BE9973
accent
#954CDC
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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