#336396#336396

#336396 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.0% C 0.098 H 251.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#336396
RGBrgb(51, 99, 150)
HSLhsl(211, 49%, 39%)
HSVhsv(211, 66%, 59%)
CMYKcmyk(66%, 34%, 0%, 41.2%)
CIE-LABlab(40.94, 0.64, -32.73)
CIE-LCHlch(40.94, 32.74, 271.11°)
OKLaboklab(49.05% -0.0307 -0.0927)
OKLCHoklch(49.05% 0.098 251.7)
XYZxyz(11.3301, 11.8284, 30.5343)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336396 #966633
analogous
#339596 #336396 #343396
triadic
#336396 #963363 #639633
tetradic
#336396 #963395 #966633 #339634
square
#336396 #963395 #966633 #339634
split-complementary
#336396 #963433 #959633
monochromatic
#14273B #234568 #336396 #4681C0 #74A0D0

Accessibility & contrast

On white

6.24
#336396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#336396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336396
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336396#FFFFFF#000000##FFFFFF
##3363961.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6698
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#006F75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336396;
/* rgb */ color: rgb(51, 99, 150);
/* oklch */ color: oklch(49.0% 0.098 251.7);
Tailwind
colors: {
  custom: {
    50: '#758fb5',
    500: '#336396',
    950: '#000000',
  },
}
SCSS
$custom: #336396;
$custom-light: #758fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#336396",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 150
  },
  "hsl": {
    "h": 210.909,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49045,
    "c": 0.09761,
    "h": 251.7
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336396

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

Preview Lab → · Contrast checker → · Palette generator →

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