#336EA9#336EA9

#336EA9 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.7% C 0.112 H 250.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#336EA9
RGBrgb(51, 110, 169)
HSLhsl(210, 54%, 43%)
HSVhsv(210, 70%, 66%)
CMYKcmyk(69.8%, 34.9%, 0%, 33.7%)
CIE-LABlab(45.25, 0.69, -37.19)
CIE-LCHlch(45.25, 37.20, 271.07°)
OKLaboklab(52.74% -0.0368 -0.1056)
OKLCHoklch(52.74% 0.112 250.8)
XYZxyz(14.0999, 14.7187, 39.6263)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EA9 #A96E33
analogous
#33A9A9 #336EA9 #3333A9
triadic
#336EA9 #A9336E #6EA933
tetradic
#336EA9 #A933A9 #A96E33 #33A933
square
#336EA9 #A933A9 #A96E33 #33A933
split-complementary
#336EA9 #A93333 #A9A933
monochromatic
#17314B #254F7A #336EA9 #4F8DCA #7EABD8

Accessibility & contrast

On white

5.32
#336EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#336EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EA9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EA9#FFFFFF#000000##FFFFFF
##336EA91.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5471AB
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336ea9;
/* rgb */ color: rgb(51, 110, 169);
/* oklch */ color: oklch(52.7% 0.112 250.8);
Tailwind
colors: {
  custom: {
    50: '#7897c3',
    500: '#336ea9',
    950: '#000000',
  },
}
SCSS
$custom: #336ea9;
$custom-light: #7897c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336ea9",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 169
  },
  "hsl": {
    "h": 210,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.1118,
    "h": 250.8
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#336EA9
secondary
#C19C77
accent
#944BDD
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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