#336E9A#336E9A

#336E9A is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.9% C 0.093 H 243.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#336E9A
RGBrgb(51, 110, 154)
HSLhsl(206, 50%, 40%)
HSVhsv(206, 67%, 60%)
CMYKcmyk(66.9%, 28.6%, 0%, 39.6%)
CIE-LABlab(44.50, -4.68, -29.53)
CIE-LCHlch(44.50, 29.90, 260.99°)
OKLaboklab(51.91% -0.0414 -0.0832)
OKLCHoklch(51.91% 0.093 243.6)
XYZxyz(12.7717, 14.1875, 32.6310)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E9A #9A5F33
analogous
#339A92 #336E9A #333A9A
triadic
#336E9A #9A336E #6E9A33
tetradic
#336E9A #92339A #9A5F33 #3A9A33
square
#336E9A #92339A #9A5F33 #3A9A33
split-complementary
#336E9A #9A333A #9A9233
monochromatic
#152C3E #244D6C #336E9A #488EC2 #76AAD2

Accessibility & contrast

On white

5.47
#336E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#336E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E9A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E9A#FFFFFF#000000##FFFFFF
##336E9A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6F9C
Deuteranopia (green-blind)
#4C6599
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336e9a;
/* rgb */ color: rgb(51, 110, 154);
/* oklch */ color: oklch(51.9% 0.093 243.6);
Tailwind
colors: {
  custom: {
    50: '#7697b8',
    500: '#336e9a',
    950: '#000000',
  },
}
SCSS
$custom: #336e9a;
$custom-light: #7697b8;
$custom-dark: #000000;
JSON
{
  "hex": "#336e9a",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 154
  },
  "hsl": {
    "h": 205.631,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.09296,
    "h": 243.6
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#336E9A
secondary
#BA8F6F
accent
#8A4EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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