#336D97#336D97

#336D97 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.5% C 0.090 H 242.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#336D97
RGBrgb(51, 109, 151)
HSLhsl(205, 50%, 40%)
HSVhsv(205, 66%, 59%)
CMYKcmyk(66.2%, 27.8%, 0%, 40.8%)
CIE-LABlab(44.05, -5.13, -28.45)
CIE-LCHlch(44.05, 28.91, 259.77°)
OKLaboklab(51.51% -0.0413 -0.0801)
OKLCHoklch(51.51% 0.09 242.7)
XYZxyz(12.4177, 13.8742, 31.2957)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D97 #975D33
analogous
#33978F #336D97 #333B97
triadic
#336D97 #97336D #6D9733
tetradic
#336D97 #8F3397 #975D33 #3B9733
square
#336D97 #8F3397 #975D33 #3B9733
split-complementary
#336D97 #97333B #978F33
monochromatic
#142B3C #244C69 #336D97 #478DC1 #74AAD0

Accessibility & contrast

On white

5.56
#336D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#336D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D97
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D97#FFFFFF#000000##FFFFFF
##336D971.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#4C6496
Tritanopia (blue-blind)
#00777C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336d97;
/* rgb */ color: rgb(51, 109, 151);
/* oklch */ color: oklch(51.5% 0.090 242.7);
Tailwind
colors: {
  custom: {
    50: '#7596b5',
    500: '#336d97',
    950: '#000000',
  },
}
SCSS
$custom: #336d97;
$custom-light: #7596b5;
$custom-dark: #000000;
JSON
{
  "hex": "#336d97",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 205.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.09014,
    "h": 242.7
  },
  "luminance": 0.13875
}

Semantic roles & 50–950 ramp

primary
#336D97
secondary
#B88D6D
accent
#894FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336D97

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

Preview Lab → · Contrast checker → · Palette generator →

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