#336FC2#336FC2

#336FC2 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.5% C 0.144 H 257.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#336FC2
RGBrgb(51, 111, 194)
HSLhsl(215, 58%, 48%)
HSVhsv(215, 74%, 76%)
CMYKcmyk(73.7%, 42.8%, 0%, 23.9%)
CIE-LABlab(46.93, 9.26, -49.05)
CIE-LCHlch(46.93, 49.92, 280.70°)
OKLaboklab(54.51% -0.0318 -0.1403)
OKLCHoklch(54.51% 0.144 257.2)
XYZxyz(16.7837, 15.9659, 53.2256)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FC2 #C28633
analogous
#33B6C2 #336FC2 #3E33C2
triadic
#336FC2 #C2336F #6FC233
tetradic
#336FC2 #C233B6 #C28633 #33C23E
square
#336FC2 #C233B6 #C28633 #33C23E
split-complementary
#336FC2 #C23E33 #B6C233
monochromatic
#1A3861 #265392 #336FC2 #5E90D5 #8EB1E1

Accessibility & contrast

On white

5.01
#336FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#336FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FC2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FC2#FFFFFF#000000##FFFFFF
##336FC21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #336fc2;
/* rgb */ color: rgb(51, 111, 194);
/* oklch */ color: oklch(54.5% 0.144 257.2);
Tailwind
colors: {
  custom: {
    50: '#7d97d5',
    500: '#336fc2',
    950: '#000000',
  },
}
SCSS
$custom: #336fc2;
$custom-light: #7d97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#336fc2",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 214.825,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54506,
    "c": 0.14384,
    "h": 257.2
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#336FC2
secondary
#CCAE85
accent
#A046E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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