#336495#336495

#336495 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.2% C 0.095 H 250.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#336495
RGBrgb(51, 100, 149)
HSLhsl(210, 49%, 39%)
HSVhsv(210, 66%, 58%)
CMYKcmyk(65.8%, 32.9%, 0%, 41.6%)
CIE-LABlab(41.20, -0.35, -31.74)
CIE-LCHlch(41.20, 31.74, 269.37°)
OKLaboklab(49.23% -0.0321 -0.0898)
OKLCHoklch(49.23% 0.095 250.3)
XYZxyz(11.3452, 11.9870, 30.1438)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336495 #956433
analogous
#339595 #336495 #333395
triadic
#336495 #953364 #649533
tetradic
#336495 #953395 #956433 #339533
square
#336495 #953395 #956433 #339533
split-complementary
#336495 #953333 #959533
monochromatic
#14273A #234567 #336495 #4683C0 #73A1CF

Accessibility & contrast

On white

6.18
#336495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#336495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336495
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336495#FFFFFF#000000##FFFFFF
##3364951.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6697
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336495;
/* rgb */ color: rgb(51, 100, 149);
/* oklch */ color: oklch(49.2% 0.095 250.3);
Tailwind
colors: {
  custom: {
    50: '#758fb4',
    500: '#336495',
    950: '#000000',
  },
}
SCSS
$custom: #336495;
$custom-light: #758fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#336495",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 149
  },
  "hsl": {
    "h": 210,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.09531,
    "h": 250.3
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#336495
secondary
#B7926C
accent
#944FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336495

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

Preview Lab → · Contrast checker → · Palette generator →

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