#336DA7#336DA7

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

Color values

HEX#336DA7
RGBrgb(51, 109, 167)
HSLhsl(210, 53%, 43%)
HSVhsv(210, 69%, 65%)
CMYKcmyk(69.5%, 34.7%, 0%, 34.5%)
CIE-LABlab(44.84, 0.58, -36.66)
CIE-LCHlch(44.84, 36.66, 270.91°)
OKLaboklab(52.39% -0.0364 -0.104)
OKLCHoklch(52.39% 0.11 250.7)
XYZxyz(13.8063, 14.4297, 38.6093)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DA7 #A76D33
analogous
#33A7A7 #336DA7 #3333A7
triadic
#336DA7 #A7336D #6DA733
tetradic
#336DA7 #A733A7 #A76D33 #33A733
square
#336DA7 #A733A7 #A76D33 #33A733
split-complementary
#336DA7 #A73333 #A7A733
monochromatic
#163049 #254E78 #336DA7 #4E8CC9 #7DAAD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336DA7#FFFFFF#000000##FFFFFF
##336DA71.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)
#5370A9
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336da7;
/* rgb */ color: rgb(51, 109, 167);
/* oklch */ color: oklch(52.4% 0.110 250.7);
Tailwind
colors: {
  custom: {
    50: '#7896c1',
    500: '#336da7',
    950: '#000000',
  },
}
SCSS
$custom: #336da7;
$custom-light: #7896c1;
$custom-dark: #000000;
JSON
{
  "hex": "#336da7",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 167
  },
  "hsl": {
    "h": 210,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.11017,
    "h": 250.7
  },
  "luminance": 0.14431
}

Semantic roles & 50–950 ramp

primary
#336DA7
secondary
#C09B76
accent
#944BDD
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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