#336EB0#336EB0

#336EB0 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.121 H 253.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#336EB0
RGBrgb(51, 110, 176)
HSLhsl(212, 55%, 45%)
HSVhsv(212, 71%, 69%)
CMYKcmyk(71%, 37.5%, 0%, 31%)
CIE-LABlab(45.62, 3.24, -40.70)
CIE-LCHlch(45.62, 40.83, 274.56°)
OKLaboklab(53.15% -0.0349 -0.1158)
OKLCHoklch(53.15% 0.121 253.2)
XYZxyz(14.7747, 14.9887, 43.1803)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EB0 #B07533
analogous
#33ADB0 #336EB0 #3733B0
triadic
#336EB0 #B0336E #6EB033
tetradic
#336EB0 #B033AD #B07533 #33B037
square
#336EB0 #B033AD #B07533 #33B037
split-complementary
#336EB0 #B03733 #ADB033
monochromatic
#183351 #255081 #336EB0 #538DCD #82ACDB

Accessibility & contrast

On white

5.25
#336EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#336EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EB0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EB0#FFFFFF#000000##FFFFFF
##336EB01.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5072B3
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336eb0;
/* rgb */ color: rgb(51, 110, 176);
/* oklch */ color: oklch(53.2% 0.121 253.2);
Tailwind
colors: {
  custom: {
    50: '#7a97c8',
    500: '#336eb0',
    950: '#000000',
  },
}
SCSS
$custom: #336eb0;
$custom-light: #7a97c8;
$custom-dark: #000000;
JSON
{
  "hex": "#336eb0",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 176
  },
  "hsl": {
    "h": 211.68,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53155,
    "c": 0.12097,
    "h": 253.2
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#336EB0
secondary
#C4A17B
accent
#9849DE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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