#336B97#336B97

#336B97 is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 51.0% C 0.092 H 244.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#336B97
RGBrgb(51, 107, 151)
HSLhsl(206, 50%, 40%)
HSVhsv(206, 66%, 59%)
CMYKcmyk(66.2%, 29.1%, 0%, 40.8%)
CIE-LABlab(43.44, -3.93, -29.41)
CIE-LCHlch(43.44, 29.67, 262.39°)
OKLaboklab(51.02% -0.0391 -0.0829)
OKLCHoklch(51.02% 0.092 244.8)
XYZxyz(12.2068, 13.4523, 31.2254)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B97 #975F33
analogous
#339791 #336B97 #333997
triadic
#336B97 #97336B #6B9733
tetradic
#336B97 #913397 #975F33 #399733
square
#336B97 #913397 #975F33 #399733
split-complementary
#336B97 #973339 #979133
monochromatic
#142A3C #244B69 #336B97 #478BC1 #74A8D0

Accessibility & contrast

On white

5.69
#336B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#336B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B97
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B97#FFFFFF#000000##FFFFFF
##336B971.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576C99
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#00767A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336b97;
/* rgb */ color: rgb(51, 107, 151);
/* oklch */ color: oklch(51.0% 0.092 244.8);
Tailwind
colors: {
  custom: {
    50: '#7595b6',
    500: '#336b97',
    950: '#000000',
  },
}
SCSS
$custom: #336b97;
$custom-light: #7595b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336b97",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 151
  },
  "hsl": {
    "h": 206.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.09169,
    "h": 244.8
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#336B97
secondary
#B88E6D
accent
#8C4FD9
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336B97

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

Preview Lab → · Contrast checker → · Palette generator →

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