#336EA3#336EA3

#336EA3 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.4% C 0.104 H 248.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#336EA3
RGBrgb(51, 110, 163)
HSLhsl(208, 52%, 42%)
HSVhsv(208, 69%, 64%)
CMYKcmyk(68.7%, 32.5%, 0%, 36.1%)
CIE-LABlab(44.94, -1.48, -34.15)
CIE-LCHlch(44.94, 34.19, 267.53°)
OKLaboklab(52.4% -0.0385 -0.0967)
OKLCHoklch(52.4% 0.104 248.3)
XYZxyz(13.5496, 14.4986, 36.7277)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EA3 #A36833
analogous
#33A3A0 #336EA3 #3336A3
triadic
#336EA3 #A3336E #6EA333
tetradic
#336EA3 #A033A3 #A36833 #36A333
square
#336EA3 #A033A3 #A36833 #36A333
split-complementary
#336EA3 #A33336 #A3A033
monochromatic
#162F46 #244F74 #336EA3 #4C8DC7 #7BABD6

Accessibility & contrast

On white

5.38
#336EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#336EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EA3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EA3#FFFFFF#000000##FFFFFF
##336EA31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#4765A2
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336ea3;
/* rgb */ color: rgb(51, 110, 163);
/* oklch */ color: oklch(52.4% 0.104 248.3);
Tailwind
colors: {
  custom: {
    50: '#7797be',
    500: '#336ea3',
    950: '#000000',
  },
}
SCSS
$custom: #336ea3;
$custom-light: #7797be;
$custom-dark: #000000;
JSON
{
  "hex": "#336ea3",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 163
  },
  "hsl": {
    "h": 208.393,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.10408,
    "h": 248.3
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#336EA3
secondary
#BE9773
accent
#904CDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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