#336497#336497

#336497 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.3% C 0.098 H 251.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#336497
RGBrgb(51, 100, 151)
HSLhsl(211, 50%, 40%)
HSVhsv(211, 66%, 59%)
CMYKcmyk(66.2%, 33.8%, 0%, 40.8%)
CIE-LABlab(41.30, 0.37, -32.77)
CIE-LCHlch(41.30, 32.77, 270.65°)
OKLaboklab(49.34% -0.0315 -0.0928)
OKLCHoklch(49.34% 0.098 251.3)
XYZxyz(11.5063, 12.0514, 30.9919)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336497 #976633
analogous
#339697 #336497 #343397
triadic
#336497 #973364 #649733
tetradic
#336497 #973396 #976633 #339734
square
#336497 #973396 #976633 #339734
split-complementary
#336497 #973433 #969733
monochromatic
#14273C #244669 #336497 #4782C1 #74A1D0

Accessibility & contrast

On white

6.16
#336497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#336497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336497
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336497#FFFFFF#000000##FFFFFF
##3364971.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6799
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#007076
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336497;
/* rgb */ color: rgb(51, 100, 151);
/* oklch */ color: oklch(49.3% 0.098 251.3);
Tailwind
colors: {
  custom: {
    50: '#758fb6',
    500: '#336497',
    950: '#000000',
  },
}
SCSS
$custom: #336497;
$custom-light: #758fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#336497",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 151
  },
  "hsl": {
    "h": 210.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.09796,
    "h": 251.3
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#336497
secondary
#B8946D
accent
#954FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336497

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

Preview Lab → · Contrast checker → · Palette generator →

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