#336CA3#336CA3

#336CA3 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.9% C 0.106 H 249.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#336CA3
RGBrgb(51, 108, 163)
HSLhsl(209, 52%, 42%)
HSVhsv(209, 69%, 64%)
CMYKcmyk(68.7%, 33.7%, 0%, 36.1%)
CIE-LABlab(44.34, -0.25, -35.10)
CIE-LCHlch(44.34, 35.11, 269.59°)
OKLaboklab(51.93% -0.0365 -0.0995)
OKLCHoklch(51.93% 0.106 249.9)
XYZxyz(13.3362, 14.0719, 36.6565)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CA3 #A36A33
analogous
#33A3A2 #336CA3 #3334A3
triadic
#336CA3 #A3336C #6CA333
tetradic
#336CA3 #A233A3 #A36A33 #34A333
square
#336CA3 #A233A3 #A36A33 #34A333
split-complementary
#336CA3 #A33334 #A3A233
monochromatic
#162E46 #244D74 #336CA3 #4C8BC7 #7BA9D6

Accessibility & contrast

On white

5.51
#336CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336CA3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CA3#FFFFFF#000000##FFFFFF
##336CA31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#4464A2
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ca3;
/* rgb */ color: rgb(51, 108, 163);
/* oklch */ color: oklch(51.9% 0.106 249.9);
Tailwind
colors: {
  custom: {
    50: '#7795be',
    500: '#336ca3',
    950: '#000000',
  },
}
SCSS
$custom: #336ca3;
$custom-light: #7795be;
$custom-dark: #000000;
JSON
{
  "hex": "#336ca3",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 163
  },
  "hsl": {
    "h": 209.464,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.10595,
    "h": 249.9
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#336CA3
secondary
#BE9873
accent
#934CDC
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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