#336997#336997

#336997 is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.5% C 0.093 H 246.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#336997
RGBrgb(51, 105, 151)
HSLhsl(208, 50%, 40%)
HSVhsv(208, 66%, 59%)
CMYKcmyk(66.2%, 30.5%, 0%, 40.8%)
CIE-LABlab(42.82, -2.71, -30.37)
CIE-LCHlch(42.82, 30.49, 264.90°)
OKLaboklab(50.54% -0.0369 -0.0857)
OKLCHoklch(50.54% 0.093 246.7)
XYZxyz(12.0006, 13.0401, 31.1567)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336997 #976133
analogous
#339793 #336997 #333797
triadic
#336997 #973369 #699733
tetradic
#336997 #933397 #976133 #379733
square
#336997 #933397 #976133 #379733
split-complementary
#336997 #973337 #979333
monochromatic
#14293C #244969 #336997 #4788C1 #74A6D0

Accessibility & contrast

On white

5.82
#336997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#336997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336997
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336997#FFFFFF#000000##FFFFFF
##3369971.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A99
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336997;
/* rgb */ color: rgb(51, 105, 151);
/* oklch */ color: oklch(50.5% 0.093 246.7);
Tailwind
colors: {
  custom: {
    50: '#7593b6',
    500: '#336997',
    950: '#000000',
  },
}
SCSS
$custom: #336997;
$custom-light: #7593b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336997",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 207.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5054,
    "c": 0.09335,
    "h": 246.7
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#336997
secondary
#B8906D
accent
#8E4FD9
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336997

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

Preview Lab → · Contrast checker → · Palette generator →

#336997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva