#336CA7#336CA7

#336CA7 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 52.2% C 0.111 H 251.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#336CA7
RGBrgb(51, 108, 167)
HSLhsl(211, 53%, 43%)
HSVhsv(211, 69%, 65%)
CMYKcmyk(69.5%, 35.3%, 0%, 34.5%)
CIE-LABlab(44.54, 1.20, -37.13)
CIE-LCHlch(44.54, 37.15, 271.85°)
OKLaboklab(52.16% -0.0353 -0.1054)
OKLCHoklch(52.16% 0.111 251.5)
XYZxyz(13.7003, 14.2175, 38.5740)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CA7 #A76E33
analogous
#33A6A7 #336CA7 #3433A7
triadic
#336CA7 #A7336C #6CA733
tetradic
#336CA7 #A733A6 #A76E33 #33A734
square
#336CA7 #A733A6 #A76E33 #33A734
split-complementary
#336CA7 #A73433 #A6A733
monochromatic
#162F49 #254E78 #336CA7 #4E8BC9 #7DA9D7

Accessibility & contrast

On white

5.46
#336CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#336CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CA7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CA7#FFFFFF#000000##FFFFFF
##336CA71.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526FA9
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#007A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ca7;
/* rgb */ color: rgb(51, 108, 167);
/* oklch */ color: oklch(52.2% 0.111 251.5);
Tailwind
colors: {
  custom: {
    50: '#7895c1',
    500: '#336ca7',
    950: '#000000',
  },
}
SCSS
$custom: #336ca7;
$custom-light: #7895c1;
$custom-dark: #000000;
JSON
{
  "hex": "#336ca7",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 167
  },
  "hsl": {
    "h": 210.517,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.11117,
    "h": 251.5
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#336CA7
secondary
#C09C76
accent
#954BDD
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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