#336CBA#336CBA

#336CBA is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.137 H 257.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#336CBA
RGBrgb(51, 108, 186)
HSLhsl(215, 57%, 46%)
HSVhsv(215, 73%, 73%)
CMYKcmyk(72.6%, 41.9%, 0%, 27.1%)
CIE-LABlab(45.60, 8.18, -46.55)
CIE-LCHlch(45.60, 47.27, 279.97°)
OKLaboklab(53.32% -0.0307 -0.133)
OKLCHoklch(53.32% 0.137 257)
XYZxyz(15.5875, 14.9724, 48.5133)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CBA #BA8133
analogous
#33B0BA #336CBA #3E33BA
triadic
#336CBA #BA336C #6CBA33
tetradic
#336CBA #BA33B0 #BA8133 #33BA3E
square
#336CBA #BA33B0 #BA8133 #33BA3E
split-complementary
#336CBA #BA3E33 #B0BA33
monochromatic
#19345A #26508A #336CBA #598CD1 #89ADDF

Accessibility & contrast

On white

5.26
#336CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#336CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CBA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CBA#FFFFFF#000000##FFFFFF
##336CBA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336cba;
/* rgb */ color: rgb(51, 108, 186);
/* oklch */ color: oklch(53.3% 0.137 257.0);
Tailwind
colors: {
  custom: {
    50: '#7c95cf',
    500: '#336cba',
    950: '#000000',
  },
}
SCSS
$custom: #336cba;
$custom-light: #7c95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#336cba",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 214.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.13651,
    "h": 257
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#336CBA
secondary
#C9AA80
accent
#A048E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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