#336A98#336A98

#336A98 is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 50.8% C 0.094 H 246.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#336A98
RGBrgb(51, 106, 152)
HSLhsl(207, 50%, 40%)
HSVhsv(207, 66%, 60%)
CMYKcmyk(66.4%, 30.3%, 0%, 40.4%)
CIE-LABlab(43.18, -2.97, -30.41)
CIE-LCHlch(43.18, 30.56, 264.43°)
OKLaboklab(50.84% -0.0377 -0.0858)
OKLCHoklch(50.84% 0.094 246.3)
XYZxyz(12.1847, 13.2776, 31.6204)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A98 #986133
analogous
#339894 #336A98 #333798
triadic
#336A98 #98336A #6A9833
tetradic
#336A98 #943398 #986133 #379833
square
#336A98 #943398 #986133 #379833
split-complementary
#336A98 #983337 #989433
monochromatic
#142A3C #244A6A #336A98 #478AC1 #75A7D1

Accessibility & contrast

On white

5.74
#336A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#336A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A98
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A98#FFFFFF#000000##FFFFFF
##336A981.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566B9A
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#00757A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #336a98;
/* rgb */ color: rgb(51, 106, 152);
/* oklch */ color: oklch(50.8% 0.094 246.3);
Tailwind
colors: {
  custom: {
    50: '#7694b6',
    500: '#336a98',
    950: '#000000',
  },
}
SCSS
$custom: #336a98;
$custom-light: #7694b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336a98",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 152
  },
  "hsl": {
    "h": 207.327,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.09375,
    "h": 246.3
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#336A98
secondary
#B9906E
accent
#8E4FD9
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336A98

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

Preview Lab → · Contrast checker → · Palette generator →

#336A98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva