#336CA2#336CA2

#336CA2 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.9% C 0.105 H 249.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#336CA2
RGBrgb(51, 108, 162)
HSLhsl(209, 52%, 42%)
HSVhsv(209, 69%, 64%)
CMYKcmyk(68.5%, 33.3%, 0%, 36.5%)
CIE-LABlab(44.28, -0.61, -34.60)
CIE-LCHlch(44.28, 34.60, 268.99°)
OKLaboklab(51.87% -0.0368 -0.098)
OKLCHoklch(51.87% 0.105 249.4)
XYZxyz(13.2470, 14.0362, 36.1865)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CA2 #A26933
analogous
#33A2A1 #336CA2 #3335A2
triadic
#336CA2 #A2336C #6CA233
tetradic
#336CA2 #A133A2 #A26933 #35A233
square
#336CA2 #A133A2 #A26933 #35A233
split-complementary
#336CA2 #A23335 #A2A133
monochromatic
#162E45 #244D73 #336CA2 #4C8BC7 #7AA9D5

Accessibility & contrast

On white

5.52
#336CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#336CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CA2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CA2#FFFFFF#000000##FFFFFF
##336CA21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546FA4
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#00797F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ca2;
/* rgb */ color: rgb(51, 108, 162);
/* oklch */ color: oklch(51.9% 0.105 249.4);
Tailwind
colors: {
  custom: {
    50: '#7795be',
    500: '#336ca2',
    950: '#000000',
  },
}
SCSS
$custom: #336ca2;
$custom-light: #7795be;
$custom-dark: #000000;
JSON
{
  "hex": "#336ca2",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 209.189,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.10467,
    "h": 249.4
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#336CA2
secondary
#BE9773
accent
#924CDC
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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