#336BAE#336BAE

#336BAE is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.3% C 0.121 H 254.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#336BAE
RGBrgb(51, 107, 174)
HSLhsl(213, 55%, 44%)
HSVhsv(213, 71%, 68%)
CMYKcmyk(70.7%, 38.5%, 0%, 31.8%)
CIE-LABlab(44.62, 4.38, -41.11)
CIE-LCHlch(44.62, 41.34, 276.08°)
OKLaboklab(52.34% -0.0325 -0.1171)
OKLCHoklch(52.34% 0.121 254.5)
XYZxyz(14.2601, 14.2737, 42.0398)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BAE #AE7633
analogous
#33A9AE #336BAE #3933AE
triadic
#336BAE #AE336B #6BAE33
tetradic
#336BAE #AE33A9 #AE7633 #33AE39
square
#336BAE #AE33A9 #AE7633 #33AE39
split-complementary
#336BAE #AE3933 #A9AE33
monochromatic
#17314F #254E7F #336BAE #528ACC #81AADA

Accessibility & contrast

On white

5.45
#336BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#336BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BAE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BAE#FFFFFF#000000##FFFFFF
##336BAE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B1
Deuteranopia (green-blind)
#3A64AD
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336bae;
/* rgb */ color: rgb(51, 107, 174);
/* oklch */ color: oklch(52.3% 0.121 254.5);
Tailwind
colors: {
  custom: {
    50: '#7994c6',
    500: '#336bae',
    950: '#000000',
  },
}
SCSS
$custom: #336bae;
$custom-light: #7994c6;
$custom-dark: #000000;
JSON
{
  "hex": "#336bae",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 174
  },
  "hsl": {
    "h": 212.683,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52342,
    "c": 0.12149,
    "h": 254.5
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#336BAE
secondary
#C3A279
accent
#9B4ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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