#336FC1#336FC1

#336FC1 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.4% C 0.142 H 257.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#336FC1
RGBrgb(51, 111, 193)
HSLhsl(215, 58%, 48%)
HSVhsv(215, 74%, 76%)
CMYKcmyk(73.6%, 42.5%, 0%, 24.3%)
CIE-LABlab(46.87, 8.89, -48.57)
CIE-LCHlch(46.87, 49.38, 280.38°)
OKLaboklab(54.44% -0.032 -0.1389)
OKLCHoklch(54.44% 0.143 257)
XYZxyz(16.6718, 15.9211, 52.6362)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FC1 #C18533
analogous
#33B6C1 #336FC1 #3E33C1
triadic
#336FC1 #C1336F #6FC133
tetradic
#336FC1 #C133B6 #C18533 #33C13E
square
#336FC1 #C133B6 #C18533 #33C13E
split-complementary
#336FC1 #C13E33 #B6C133
monochromatic
#193760 #265391 #336FC1 #5D8FD4 #8DB1E1

Accessibility & contrast

On white

5.02
#336FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#336FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FC1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FC1#FFFFFF#000000##FFFFFF
##336FC11.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4776C4
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #336fc1;
/* rgb */ color: rgb(51, 111, 193);
/* oklch */ color: oklch(54.4% 0.142 257.0);
Tailwind
colors: {
  custom: {
    50: '#7d97d4',
    500: '#336fc1',
    950: '#000000',
  },
}
SCSS
$custom: #336fc1;
$custom-light: #7d97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#336fc1",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 193
  },
  "hsl": {
    "h": 214.648,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.1425,
    "h": 257
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#336FC1
secondary
#CBAD84
accent
#A046E1
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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