#336EC0#336EC0

#336EC0 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.2% C 0.142 H 257.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#336EC0
RGBrgb(51, 110, 192)
HSLhsl(215, 58%, 48%)
HSVhsv(215, 73%, 75%)
CMYKcmyk(73.4%, 42.7%, 0%, 24.7%)
CIE-LABlab(46.52, 9.15, -48.54)
CIE-LCHlch(46.52, 49.40, 280.67°)
OKLaboklab(54.15% -0.0313 -0.1388)
OKLCHoklch(54.15% 0.142 257.3)
XYZxyz(16.4521, 15.6596, 52.0145)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EC0 #C08533
analogous
#33B4C0 #336EC0 #3F33C0
triadic
#336EC0 #C0336E #6EC033
tetradic
#336EC0 #C033B4 #C08533 #33C03F
square
#336EC0 #C033B4 #C08533 #33C03F
split-complementary
#336EC0 #C03F33 #B4C033
monochromatic
#19375F #265290 #336EC0 #5C8ED4 #8DB0E1

Accessibility & contrast

On white

5.08
#336EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#336EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EC0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EC0#FFFFFF#000000##FFFFFF
##336EC01.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4675C3
Deuteranopia (green-blind)
#2D68BE
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336ec0;
/* rgb */ color: rgb(51, 110, 192);
/* oklch */ color: oklch(54.2% 0.142 257.3);
Tailwind
colors: {
  custom: {
    50: '#7d97d3',
    500: '#336ec0',
    950: '#000000',
  },
}
SCSS
$custom: #336ec0;
$custom-light: #7d97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#336ec0",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 214.894,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.1423,
    "h": 257.3
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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