#336EAA#336EAA

#336EAA is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.113 H 251.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#336EAA
RGBrgb(51, 110, 170)
HSLhsl(210, 54%, 43%)
HSVhsv(210, 70%, 67%)
CMYKcmyk(70%, 35.3%, 0%, 33.3%)
CIE-LABlab(45.30, 1.05, -37.70)
CIE-LCHlch(45.30, 37.71, 271.60°)
OKLaboklab(52.8% -0.0365 -0.107)
OKLCHoklch(52.8% 0.113 251.2)
XYZxyz(14.1942, 14.7564, 40.1226)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EAA #AA6F33
analogous
#33A9AA #336EAA #3333AA
triadic
#336EAA #AA336E #6EAA33
tetradic
#336EAA #AA33A9 #AA6F33 #33AA33
square
#336EAA #AA33A9 #AA6F33 #33AA33
split-complementary
#336EAA #AA3333 #A9AA33
monochromatic
#17314C #25507B #336EAA #508DCA #7FABD9

Accessibility & contrast

On white

5.31
#336EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#336EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EAA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EAA#FFFFFF#000000##FFFFFF
##336EAA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336eaa;
/* rgb */ color: rgb(51, 110, 170);
/* oklch */ color: oklch(52.8% 0.113 251.2);
Tailwind
colors: {
  custom: {
    50: '#7997c3',
    500: '#336eaa',
    950: '#000000',
  },
}
SCSS
$custom: #336eaa;
$custom-light: #7997c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336eaa",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 170
  },
  "hsl": {
    "h": 210.252,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.528,
    "c": 0.1131,
    "h": 251.2
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#336EAA
secondary
#C29D77
accent
#954BDD
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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