#336998#336998

#336998 is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.6% C 0.095 H 247.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#336998
RGBrgb(51, 105, 152)
HSLhsl(208, 50%, 40%)
HSVhsv(208, 66%, 60%)
CMYKcmyk(66.4%, 30.9%, 0%, 40.4%)
CIE-LABlab(42.87, -2.36, -30.89)
CIE-LCHlch(42.87, 30.98, 265.64°)
OKLaboklab(50.6% -0.0366 -0.0872)
OKLCHoklch(50.6% 0.095 247.2)
XYZxyz(12.0822, 13.0727, 31.5862)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336998 #986233
analogous
#339895 #336998 #333698
triadic
#336998 #983369 #699833
tetradic
#336998 #953398 #986233 #369833
square
#336998 #953398 #986233 #369833
split-complementary
#336998 #983336 #989533
monochromatic
#142A3C #24496A #336998 #4788C1 #75A6D1

Accessibility & contrast

On white

5.81
#336998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#336998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336998
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336998#FFFFFF#000000##FFFFFF
##3369981.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9A
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#00747A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336998;
/* rgb */ color: rgb(51, 105, 152);
/* oklch */ color: oklch(50.6% 0.095 247.2);
Tailwind
colors: {
  custom: {
    50: '#7693b6',
    500: '#336998',
    950: '#000000',
  },
}
SCSS
$custom: #336998;
$custom-light: #7693b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336998",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 152
  },
  "hsl": {
    "h": 207.921,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.09462,
    "h": 247.2
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#336998
secondary
#B9916E
accent
#8F4FD9
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336998

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

Preview Lab → · Contrast checker → · Palette generator →

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