#336EB2#336EB2

#336EB2 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.124 H 253.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#336EB2
RGBrgb(51, 110, 178)
HSLhsl(212, 55%, 45%)
HSVhsv(212, 71%, 70%)
CMYKcmyk(71.3%, 38.2%, 0%, 30.2%)
CIE-LABlab(45.73, 3.98, -41.69)
CIE-LCHlch(45.73, 41.88, 275.45°)
OKLaboklab(53.28% -0.0344 -0.1187)
OKLCHoklch(53.28% 0.124 253.8)
XYZxyz(14.9741, 15.0684, 44.2302)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EB2 #B27733
analogous
#33AEB2 #336EB2 #3733B2
triadic
#336EB2 #B2336E #6EB233
tetradic
#336EB2 #B233AE #B27733 #33B237
square
#336EB2 #B233AE #B27733 #33B237
split-complementary
#336EB2 #B23733 #AEB233
monochromatic
#183353 #255182 #336EB2 #548DCE #84ADDC

Accessibility & contrast

On white

5.23
#336EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#336EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EB2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EB2#FFFFFF#000000##FFFFFF
##336EB21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#3C67B1
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336eb2;
/* rgb */ color: rgb(51, 110, 178);
/* oklch */ color: oklch(53.3% 0.124 253.8);
Tailwind
colors: {
  custom: {
    50: '#7a97c9',
    500: '#336eb2',
    950: '#000000',
  },
}
SCSS
$custom: #336eb2;
$custom-light: #7a97c9;
$custom-dark: #000000;
JSON
{
  "hex": "#336eb2",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 212.126,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.12361,
    "h": 253.8
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#336EB2
secondary
#C5A37C
accent
#9949DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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