#336299#336299

#336299 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 49.0% C 0.103 H 253.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#336299
RGBrgb(51, 98, 153)
HSLhsl(212, 50%, 40%)
HSVhsv(212, 67%, 60%)
CMYKcmyk(66.7%, 35.9%, 0%, 40%)
CIE-LABlab(40.80, 2.35, -34.76)
CIE-LCHlch(40.80, 34.84, 273.86°)
OKLaboklab(48.98% -0.0287 -0.0986)
OKLCHoklch(48.98% 0.103 253.7)
XYZxyz(11.4806, 11.7379, 31.7914)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336299 #996A33
analogous
#339599 #336299 #373399
triadic
#336299 #993362 #629933
tetradic
#336299 #993395 #996A33 #339937
square
#336299 #993395 #996A33 #339937
split-complementary
#336299 #993733 #959933
monochromatic
#14273D #24456B #336299 #4780C2 #75A0D1

Accessibility & contrast

On white

6.27
#336299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#336299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336299
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336299#FFFFFF#000000##FFFFFF
##3362991.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659B
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336299;
/* rgb */ color: rgb(51, 98, 153);
/* oklch */ color: oklch(49.0% 0.103 253.7);
Tailwind
colors: {
  custom: {
    50: '#768eb7',
    500: '#336299',
    950: '#000000',
  },
}
SCSS
$custom: #336299;
$custom-light: #768eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#336299",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 153
  },
  "hsl": {
    "h": 212.353,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.48982,
    "c": 0.10269,
    "h": 253.7
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#336299
secondary
#B9976E
accent
#994EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336299

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

Preview Lab → · Contrast checker → · Palette generator →

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