#336EBA#336EBA

#336EBA is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.8% C 0.134 H 256.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#336EBA
RGBrgb(51, 110, 186)
HSLhsl(214, 57%, 46%)
HSVhsv(214, 73%, 73%)
CMYKcmyk(72.6%, 40.9%, 0%, 27.1%)
CIE-LABlab(46.18, 6.93, -45.63)
CIE-LCHlch(46.18, 46.15, 278.63°)
OKLaboklab(53.77% -0.0326 -0.1303)
OKLCHoklch(53.77% 0.134 256)
XYZxyz(15.8008, 15.3991, 48.5844)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EBA #BA7F33
analogous
#33B2BA #336EBA #3C33BA
triadic
#336EBA #BA336E #6EBA33
tetradic
#336EBA #BA33B2 #BA7F33 #33BA3C
square
#336EBA #BA33B2 #BA7F33 #33BA3C
split-complementary
#336EBA #BA3C33 #B2BA33
monochromatic
#19355A #26528A #336EBA #598ED1 #89AEDF

Accessibility & contrast

On white

5.15
#336EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#336EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EBA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EBA#FFFFFF#000000##FFFFFF
##336EBA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336eba;
/* rgb */ color: rgb(51, 110, 186);
/* oklch */ color: oklch(53.8% 0.134 256.0);
Tailwind
colors: {
  custom: {
    50: '#7c97cf',
    500: '#336eba',
    950: '#000000',
  },
}
SCSS
$custom: #336eba;
$custom-light: #7c97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#336eba",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 213.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.13427,
    "h": 256
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#336EBA
secondary
#C9A980
accent
#9E48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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