#336898#336898

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

Color values

HEX#336898
RGBrgb(51, 104, 152)
HSLhsl(209, 50%, 40%)
HSVhsv(209, 66%, 60%)
CMYKcmyk(66.4%, 31.6%, 0%, 40.4%)
CIE-LABlab(42.57, -1.74, -31.37)
CIE-LCHlch(42.57, 31.42, 266.82°)
OKLaboklab(50.35% -0.0355 -0.0887)
OKLCHoklch(50.35% 0.096 248.2)
XYZxyz(11.9809, 12.8702, 31.5525)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336898 #986333
analogous
#339896 #336898 #333598
triadic
#336898 #983368 #689833
tetradic
#336898 #963398 #986333 #359833
square
#336898 #963398 #986333 #359833
split-complementary
#336898 #983335 #989633
monochromatic
#14293C #24496A #336898 #4787C1 #75A5D1

Accessibility & contrast

On white

5.88
#336898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#336898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336898
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336898#FFFFFF#000000##FFFFFF
##3368981.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A9A
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336898;
/* rgb */ color: rgb(51, 104, 152);
/* oklch */ color: oklch(50.4% 0.096 248.2);
Tailwind
colors: {
  custom: {
    50: '#7592b6',
    500: '#336898',
    950: '#000000',
  },
}
SCSS
$custom: #336898;
$custom-light: #7592b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336898",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 152
  },
  "hsl": {
    "h": 208.515,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.0955,
    "h": 248.2
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#336898
secondary
#B9926E
accent
#904FD9
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #336898

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

Preview Lab → · Contrast checker → · Palette generator →

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