#336EA1#336EA1

#336EA1 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.3% C 0.102 H 247.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#336EA1
RGBrgb(51, 110, 161)
HSLhsl(208, 52%, 42%)
HSVhsv(208, 68%, 63%)
CMYKcmyk(68.3%, 31.7%, 0%, 36.9%)
CIE-LABlab(44.84, -2.19, -33.13)
CIE-LCHlch(44.84, 33.20, 266.21°)
OKLaboklab(52.29% -0.0392 -0.0937)
OKLCHoklch(52.29% 0.102 247.3)
XYZxyz(13.3718, 14.4275, 35.7914)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EA1 #A16633
analogous
#33A19D #336EA1 #3337A1
triadic
#336EA1 #A1336E #6EA133
tetradic
#336EA1 #9D33A1 #A16633 #37A133
square
#336EA1 #9D33A1 #A16633 #37A133
split-complementary
#336EA1 #A13337 #A19D33
monochromatic
#162E44 #244E73 #336EA1 #4B8DC6 #7AABD5

Accessibility & contrast

On white

5.40
#336EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#336EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EA1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EA1#FFFFFF#000000##FFFFFF
##336EA11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A3
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#007A80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336ea1;
/* rgb */ color: rgb(51, 110, 161);
/* oklch */ color: oklch(52.3% 0.102 247.3);
Tailwind
colors: {
  custom: {
    50: '#7797bd',
    500: '#336ea1',
    950: '#000000',
  },
}
SCSS
$custom: #336ea1;
$custom-light: #7797bd;
$custom-dark: #000000;
JSON
{
  "hex": "#336ea1",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 161
  },
  "hsl": {
    "h": 207.818,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.10156,
    "h": 247.3
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#336EA1
secondary
#BD9572
accent
#8F4CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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