#336899#336899

#336899 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.4% C 0.097 H 248.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#336899
RGBrgb(51, 104, 153)
HSLhsl(209, 50%, 40%)
HSVhsv(209, 67%, 60%)
CMYKcmyk(66.7%, 32%, 0%, 40%)
CIE-LABlab(42.62, -1.39, -31.89)
CIE-LCHlch(42.62, 31.92, 267.51°)
OKLaboklab(50.41% -0.0352 -0.0902)
OKLCHoklch(50.41% 0.097 248.7)
XYZxyz(12.0632, 12.9031, 31.9856)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336899 #996433
analogous
#339997 #336899 #333599
triadic
#336899 #993368 #689933
tetradic
#336899 #973399 #996433 #359933
square
#336899 #973399 #996433 #359933
split-complementary
#336899 #993335 #999733
monochromatic
#142A3D #24496B #336899 #4787C2 #75A5D1

Accessibility & contrast

On white

5.86
#336899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#336899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336899
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336899#FFFFFF#000000##FFFFFF
##3368991.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A9B
Deuteranopia (green-blind)
#456098
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336899;
/* rgb */ color: rgb(51, 104, 153);
/* oklch */ color: oklch(50.4% 0.097 248.7);
Tailwind
colors: {
  custom: {
    50: '#7692b7',
    500: '#336899',
    950: '#000000',
  },
}
SCSS
$custom: #336899;
$custom-light: #7692b7;
$custom-dark: #000000;
JSON
{
  "hex": "#336899",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 153
  },
  "hsl": {
    "h": 208.824,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.09679,
    "h": 248.7
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#336899
secondary
#B9926E
accent
#914EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #336899

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

Preview Lab → · Contrast checker → · Palette generator →

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