#336BA3#336BA3

#336BA3 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.7% C 0.107 H 250.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#336BA3
RGBrgb(51, 107, 163)
HSLhsl(210, 52%, 42%)
HSVhsv(210, 69%, 64%)
CMYKcmyk(68.7%, 34.4%, 0%, 36.1%)
CIE-LABlab(44.03, 0.36, -35.58)
CIE-LCHlch(44.03, 35.58, 270.59°)
OKLaboklab(51.69% -0.0354 -0.1009)
OKLCHoklch(51.69% 0.107 250.6)
XYZxyz(13.2313, 13.8622, 36.6216)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BA3 #A36B33
analogous
#33A3A3 #336BA3 #3333A3
triadic
#336BA3 #A3336B #6BA333
tetradic
#336BA3 #A333A3 #A36B33 #33A333
square
#336BA3 #A333A3 #A36B33 #33A333
split-complementary
#336BA3 #A33333 #A3A333
monochromatic
#162E46 #244C74 #336BA3 #4C8AC7 #7BA8D6

Accessibility & contrast

On white

5.57
#336BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#336BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BA3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BA3#FFFFFF#000000##FFFFFF
##336BA31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#00787F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336ba3;
/* rgb */ color: rgb(51, 107, 163);
/* oklch */ color: oklch(51.7% 0.107 250.6);
Tailwind
colors: {
  custom: {
    50: '#7795be',
    500: '#336ba3',
    950: '#000000',
  },
}
SCSS
$custom: #336ba3;
$custom-light: #7795be;
$custom-dark: #000000;
JSON
{
  "hex": "#336ba3",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 163
  },
  "hsl": {
    "h": 210,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.10692,
    "h": 250.6
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#336BA3
secondary
#BE9973
accent
#944CDC
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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