#336F9D#336F9D

#336F9D is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.3% C 0.096 H 244.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#336F9D
RGBrgb(51, 111, 157)
HSLhsl(206, 51%, 41%)
HSVhsv(206, 68%, 62%)
CMYKcmyk(67.5%, 29.3%, 0%, 38.4%)
CIE-LABlab(44.95, -4.22, -30.60)
CIE-LCHlch(44.95, 30.89, 262.15°)
OKLaboklab(52.31% -0.0415 -0.0863)
OKLCHoklch(52.31% 0.096 244.3)
XYZxyz(13.1332, 14.5056, 33.9995)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F9D #9D6133
analogous
#339D96 #336F9D #333A9D
triadic
#336F9D #9D336F #6F9D33
tetradic
#336F9D #96339D #9D6133 #3A9D33
square
#336F9D #96339D #9D6133 #3A9D33
split-complementary
#336F9D #9D333A #9D9633
monochromatic
#152E41 #244E6F #336F9D #498FC4 #77ABD3

Accessibility & contrast

On white

5.38
#336F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#336F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F9D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F9D#FFFFFF#000000##FFFFFF
##336F9D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336f9d;
/* rgb */ color: rgb(51, 111, 157);
/* oklch */ color: oklch(52.3% 0.096 244.3);
Tailwind
colors: {
  custom: {
    50: '#7698ba',
    500: '#336f9d',
    950: '#000000',
  },
}
SCSS
$custom: #336f9d;
$custom-light: #7698ba;
$custom-dark: #000000;
JSON
{
  "hex": "#336f9d",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 157
  },
  "hsl": {
    "h": 206.038,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.09579,
    "h": 244.3
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#336F9D
secondary
#BB9170
accent
#8B4DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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