#336EA4#336EA4

#336EA4 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.5% C 0.105 H 248.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#336EA4
RGBrgb(51, 110, 164)
HSLhsl(209, 53%, 42%)
HSVhsv(209, 69%, 64%)
CMYKcmyk(68.9%, 32.9%, 0%, 35.7%)
CIE-LABlab(44.99, -1.12, -34.66)
CIE-LCHlch(44.99, 34.68, 268.16°)
OKLaboklab(52.46% -0.0382 -0.0982)
OKLCHoklch(52.46% 0.105 248.7)
XYZxyz(13.6395, 14.5346, 37.2014)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EA4 #A46933
analogous
#33A4A2 #336EA4 #3335A4
triadic
#336EA4 #A4336E #6EA433
tetradic
#336EA4 #A233A4 #A46933 #35A433
square
#336EA4 #A233A4 #A46933 #35A433
split-complementary
#336EA4 #A43335 #A4A233
monochromatic
#162F47 #244F75 #336EA4 #4D8DC8 #7BABD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336EA4#FFFFFF#000000##FFFFFF
##336EA41.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)
#5670A6
Deuteranopia (green-blind)
#4666A3
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336ea4;
/* rgb */ color: rgb(51, 110, 164);
/* oklch */ color: oklch(52.5% 0.105 248.7);
Tailwind
colors: {
  custom: {
    50: '#7897bf',
    500: '#336ea4',
    950: '#000000',
  },
}
SCSS
$custom: #336ea4;
$custom-light: #7897bf;
$custom-dark: #000000;
JSON
{
  "hex": "#336ea4",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 208.673,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.10536,
    "h": 248.7
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#336EA4
secondary
#BF9874
accent
#914CDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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