#336F98#336F98

#336F98 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.0% C 0.090 H 241.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#336F98
RGBrgb(51, 111, 152)
HSLhsl(204, 50%, 40%)
HSVhsv(204, 66%, 60%)
CMYKcmyk(66.4%, 27%, 0%, 40.4%)
CIE-LABlab(44.71, -5.98, -28.01)
CIE-LCHlch(44.71, 28.64, 257.95°)
OKLaboklab(52.05% -0.0431 -0.0788)
OKLCHoklch(52.05% 0.09 241.3)
XYZxyz(12.7150, 14.3384, 31.7972)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F98 #985C33
analogous
#33988E #336F98 #333D98
triadic
#336F98 #98336F #6F9833
tetradic
#336F98 #8E3398 #985C33 #3D9833
square
#336F98 #8E3398 #985C33 #3D9833
split-complementary
#336F98 #98333D #988E33
monochromatic
#142C3C #244E6A #336F98 #4790C1 #75ABD1

Accessibility & contrast

On white

5.43
#336F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#336F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F98
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F98#FFFFFF#000000##FFFFFF
##336F981.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#4F6597
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336f98;
/* rgb */ color: rgb(51, 111, 152);
/* oklch */ color: oklch(52.0% 0.090 241.3);
Tailwind
colors: {
  custom: {
    50: '#7698b6',
    500: '#336f98',
    950: '#000000',
  },
}
SCSS
$custom: #336f98;
$custom-light: #7698b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336f98",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 152
  },
  "hsl": {
    "h": 204.356,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.08988,
    "h": 241.3
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#336F98
secondary
#B98C6E
accent
#874FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F98

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

Preview Lab → · Contrast checker → · Palette generator →

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