#336E98#336E98

#336E98 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.8% C 0.091 H 242.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#336E98
RGBrgb(51, 110, 152)
HSLhsl(205, 50%, 40%)
HSVhsv(205, 66%, 60%)
CMYKcmyk(66.4%, 27.6%, 0%, 40.4%)
CIE-LABlab(44.41, -5.38, -28.49)
CIE-LCHlch(44.41, 29.00, 259.30°)
OKLaboklab(51.81% -0.042 -0.0802)
OKLCHoklch(51.81% 0.091 242.3)
XYZxyz(12.6065, 14.1214, 31.7610)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E98 #985D33
analogous
#33988F #336E98 #333C98
triadic
#336E98 #98336E #6E9833
tetradic
#336E98 #8F3398 #985D33 #3C9833
square
#336E98 #8F3398 #985D33 #3C9833
split-complementary
#336E98 #98333C #988F33
monochromatic
#142C3C #244D6A #336E98 #478EC1 #75AAD1

Accessibility & contrast

On white

5.49
#336E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#336E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E98
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E98#FFFFFF#000000##FFFFFF
##336E981.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9A
Deuteranopia (green-blind)
#4D6597
Tritanopia (blue-blind)
#00787D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336e98;
/* rgb */ color: rgb(51, 110, 152);
/* oklch */ color: oklch(51.8% 0.091 242.3);
Tailwind
colors: {
  custom: {
    50: '#7697b6',
    500: '#336e98',
    950: '#000000',
  },
}
SCSS
$custom: #336e98;
$custom-light: #7697b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336e98",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 152
  },
  "hsl": {
    "h": 204.95,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.09059,
    "h": 242.3
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#336E98
secondary
#B98D6E
accent
#884FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336E98

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

Preview Lab → · Contrast checker → · Palette generator →

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