#336CB0#336CB0

#336CB0 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.123 H 254.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#336CB0
RGBrgb(51, 108, 176)
HSLhsl(213, 55%, 45%)
HSVhsv(213, 71%, 69%)
CMYKcmyk(71%, 38.6%, 0%, 31%)
CIE-LABlab(45.03, 4.49, -41.64)
CIE-LCHlch(45.03, 41.88, 276.15°)
OKLaboklab(52.69% -0.033 -0.1186)
OKLCHoklch(52.69% 0.123 254.4)
XYZxyz(14.5614, 14.5620, 43.1092)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CB0 #B07733
analogous
#33ABB0 #336CB0 #3933B0
triadic
#336CB0 #B0336C #6CB033
tetradic
#336CB0 #B033AB #B07733 #33B039
square
#336CB0 #B033AB #B07733 #33B039
split-complementary
#336CB0 #B03933 #ABB033
monochromatic
#183251 #254F81 #336CB0 #538BCD #82ABDB

Accessibility & contrast

On white

5.37
#336CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#336CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CB0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CB0#FFFFFF#000000##FFFFFF
##336CB01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B3
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336cb0;
/* rgb */ color: rgb(51, 108, 176);
/* oklch */ color: oklch(52.7% 0.123 254.4);
Tailwind
colors: {
  custom: {
    50: '#7a95c8',
    500: '#336cb0',
    950: '#000000',
  },
}
SCSS
$custom: #336cb0;
$custom-light: #7a95c8;
$custom-dark: #000000;
JSON
{
  "hex": "#336cb0",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 176
  },
  "hsl": {
    "h": 212.64,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.1231,
    "h": 254.4
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#336CB0
secondary
#C4A37B
accent
#9A49DE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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