#336F96#336F96

#336F96 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.9% C 0.088 H 240.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#336F96
RGBrgb(51, 111, 150)
HSLhsl(204, 49%, 39%)
HSVhsv(204, 66%, 59%)
CMYKcmyk(66%, 26%, 0%, 41.2%)
CIE-LABlab(44.62, -6.68, -26.97)
CIE-LCHlch(44.62, 27.78, 256.09°)
OKLaboklab(51.95% -0.0438 -0.0758)
OKLCHoklch(51.95% 0.088 240)
XYZxyz(12.5526, 14.2734, 30.9418)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F96 #965A33
analogous
#33968C #336F96 #333E96
triadic
#336F96 #96336F #6F9633
tetradic
#336F96 #8C3396 #965A33 #3E9633
square
#336F96 #8C3396 #965A33 #3E9633
split-complementary
#336F96 #96333E #968C33
monochromatic
#142B3B #234D68 #336F96 #4690C0 #74ABD0

Accessibility & contrast

On white

5.45
#336F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#336F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F96
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F96#FFFFFF#000000##FFFFFF
##336F961.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F98
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#00797C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336f96;
/* rgb */ color: rgb(51, 111, 150);
/* oklch */ color: oklch(51.9% 0.088 240.0);
Tailwind
colors: {
  custom: {
    50: '#7598b5',
    500: '#336f96',
    950: '#000000',
  },
}
SCSS
$custom: #336f96;
$custom-light: #7598b5;
$custom-dark: #000000;
JSON
{
  "hex": "#336f96",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 150
  },
  "hsl": {
    "h": 203.636,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.08759,
    "h": 240
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#336F96
secondary
#B88A6D
accent
#854FD9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F96

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

Preview Lab → · Contrast checker → · Palette generator →

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