#336EB7#336EB7

#336EB7 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.130 H 255.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#336EB7
RGBrgb(51, 110, 183)
HSLhsl(213, 56%, 46%)
HSVhsv(213, 72%, 72%)
CMYKcmyk(72.1%, 39.9%, 0%, 28.2%)
CIE-LABlab(46.01, 5.82, -44.16)
CIE-LCHlch(46.01, 44.54, 277.51°)
OKLaboklab(53.58% -0.0332 -0.1259)
OKLCHoklch(53.58% 0.13 255.2)
XYZxyz(15.4853, 15.2729, 46.9224)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EB7 #B77C33
analogous
#33B0B7 #336EB7 #3A33B7
triadic
#336EB7 #B7336E #6EB733
tetradic
#336EB7 #B733B0 #B77C33 #33B73A
square
#336EB7 #B733B0 #B77C33 #33B73A
split-complementary
#336EB7 #B73A33 #B0B733
monochromatic
#183457 #265187 #336EB7 #578DD0 #87AEDE

Accessibility & contrast

On white

5.18
#336EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#336EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EB7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EB7#FFFFFF#000000##FFFFFF
##336EB71.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BA
Deuteranopia (green-blind)
#3767B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336eb7;
/* rgb */ color: rgb(51, 110, 183);
/* oklch */ color: oklch(53.6% 0.130 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b97cd',
    500: '#336eb7',
    950: '#000000',
  },
}
SCSS
$custom: #336eb7;
$custom-light: #7b97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#336eb7",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 213.182,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.13026,
    "h": 255.2
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#336EB7
secondary
#C7A77F
accent
#9C48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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