#336DA8#336DA8

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

Color values

HEX#336DA8
RGBrgb(51, 109, 168)
HSLhsl(210, 53%, 43%)
HSVhsv(210, 70%, 66%)
CMYKcmyk(69.6%, 35.1%, 0%, 34.1%)
CIE-LABlab(44.90, 0.94, -37.16)
CIE-LCHlch(44.90, 37.18, 271.45°)
OKLaboklab(52.45% -0.0361 -0.1055)
OKLCHoklch(52.45% 0.111 251.1)
XYZxyz(13.8991, 14.4668, 39.0981)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DA8 #A86E33
analogous
#33A8A8 #336DA8 #3333A8
triadic
#336DA8 #A8336D #6DA833
tetradic
#336DA8 #A833A8 #A86E33 #33A833
square
#336DA8 #A833A8 #A86E33 #33A833
split-complementary
#336DA8 #A83333 #A8A833
monochromatic
#16304A #254F79 #336DA8 #4F8CC9 #7EAAD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336DA8#FFFFFF#000000##FFFFFF
##336DA81.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)
#5370AA
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336da8;
/* rgb */ color: rgb(51, 109, 168);
/* oklch */ color: oklch(52.4% 0.111 251.1);
Tailwind
colors: {
  custom: {
    50: '#7896c2',
    500: '#336da8',
    950: '#000000',
  },
}
SCSS
$custom: #336da8;
$custom-light: #7896c2;
$custom-dark: #000000;
JSON
{
  "hex": "#336da8",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 168
  },
  "hsl": {
    "h": 210.256,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.11148,
    "h": 251.1
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#336DA8
secondary
#C19C76
accent
#954BDD
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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