#336CA5#336CA5

#336CA5 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 52.0% C 0.109 H 250.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#336CA5
RGBrgb(51, 108, 165)
HSLhsl(210, 53%, 42%)
HSVhsv(210, 69%, 65%)
CMYKcmyk(69.1%, 34.5%, 0%, 35.3%)
CIE-LABlab(44.44, 0.47, -36.12)
CIE-LCHlch(44.44, 36.12, 270.75°)
OKLaboklab(52.04% -0.0359 -0.1024)
OKLCHoklch(52.04% 0.109 250.7)
XYZxyz(13.5168, 14.1441, 37.6077)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CA5 #A56C33
analogous
#33A5A5 #336CA5 #3333A5
triadic
#336CA5 #A5336C #6CA533
tetradic
#336CA5 #A533A5 #A56C33 #33A533
square
#336CA5 #A533A5 #A56C33 #33A533
split-complementary
#336CA5 #A53333 #A5A533
monochromatic
#162F48 #254D76 #336CA5 #4D8BC8 #7CA9D6

Accessibility & contrast

On white

5.48
#336CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#336CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CA5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CA5#FFFFFF#000000##FFFFFF
##336CA51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536FA7
Deuteranopia (green-blind)
#4364A4
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ca5;
/* rgb */ color: rgb(51, 108, 165);
/* oklch */ color: oklch(52.0% 0.109 250.7);
Tailwind
colors: {
  custom: {
    50: '#7895c0',
    500: '#336ca5',
    950: '#000000',
  },
}
SCSS
$custom: #336ca5;
$custom-light: #7895c0;
$custom-dark: #000000;
JSON
{
  "hex": "#336ca5",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 165
  },
  "hsl": {
    "h": 210,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.10855,
    "h": 250.7
  },
  "luminance": 0.14146
}

Semantic roles & 50–950 ramp

primary
#336CA5
secondary
#BF9A75
accent
#944CDC
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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