#336EA2#336EA2

#336EA2 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.3% C 0.103 H 247.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#336EA2
RGBrgb(51, 110, 162)
HSLhsl(208, 52%, 42%)
HSVhsv(208, 69%, 64%)
CMYKcmyk(68.5%, 32.1%, 0%, 36.5%)
CIE-LABlab(44.89, -1.83, -33.64)
CIE-LCHlch(44.89, 33.69, 266.88°)
OKLaboklab(52.35% -0.0388 -0.0952)
OKLCHoklch(52.35% 0.103 247.8)
XYZxyz(13.4603, 14.4629, 36.2577)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EA2 #A26733
analogous
#33A29F #336EA2 #3337A2
triadic
#336EA2 #A2336E #6EA233
tetradic
#336EA2 #9F33A2 #A26733 #37A233
square
#336EA2 #9F33A2 #A26733 #37A233
split-complementary
#336EA2 #A23337 #A29F33
monochromatic
#162F45 #244E73 #336EA2 #4C8DC7 #7AABD5

Accessibility & contrast

On white

5.39
#336EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336EA2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EA2#FFFFFF#000000##FFFFFF
##336EA21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#4865A1
Tritanopia (blue-blind)
#007A81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336ea2;
/* rgb */ color: rgb(51, 110, 162);
/* oklch */ color: oklch(52.3% 0.103 247.8);
Tailwind
colors: {
  custom: {
    50: '#7797be',
    500: '#336ea2',
    950: '#000000',
  },
}
SCSS
$custom: #336ea2;
$custom-light: #7797be;
$custom-dark: #000000;
JSON
{
  "hex": "#336ea2",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 208.108,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.10282,
    "h": 247.8
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#336EA2
secondary
#BE9673
accent
#8F4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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