#336799#336799

#336799 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.2% C 0.098 H 249.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#336799
RGBrgb(51, 103, 153)
HSLhsl(209, 50%, 40%)
HSVhsv(209, 67%, 60%)
CMYKcmyk(66.7%, 32.7%, 0%, 40%)
CIE-LABlab(42.31, -0.77, -32.37)
CIE-LCHlch(42.31, 32.38, 268.64°)
OKLaboklab(50.17% -0.0341 -0.0916)
OKLCHoklch(50.17% 0.098 249.6)
XYZxyz(11.9631, 12.7030, 31.9523)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336799 #996533
analogous
#339998 #336799 #333499
triadic
#336799 #993367 #679933
tetradic
#336799 #983399 #996533 #349933
square
#336799 #983399 #996533 #349933
split-complementary
#336799 #993334 #999833
monochromatic
#14293D #24486B #336799 #4786C2 #75A4D1

Accessibility & contrast

On white

5.93
#336799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#336799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336799
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336799#FFFFFF#000000##FFFFFF
##3367991.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699B
Deuteranopia (green-blind)
#435F98
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336799;
/* rgb */ color: rgb(51, 103, 153);
/* oklch */ color: oklch(50.2% 0.098 249.6);
Tailwind
colors: {
  custom: {
    50: '#7692b7',
    500: '#336799',
    950: '#000000',
  },
}
SCSS
$custom: #336799;
$custom-light: #7692b7;
$custom-dark: #000000;
JSON
{
  "hex": "#336799",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 209.412,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.09771,
    "h": 249.6
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#336799
secondary
#B9936E
accent
#934EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336799

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

Preview Lab → · Contrast checker → · Palette generator →

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