#336B98#336B98

#336B98 is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 51.1% C 0.093 H 245.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#336B98
RGBrgb(51, 107, 152)
HSLhsl(207, 50%, 40%)
HSVhsv(207, 66%, 60%)
CMYKcmyk(66.4%, 29.6%, 0%, 40.4%)
CIE-LABlab(43.48, -3.58, -29.93)
CIE-LCHlch(43.48, 30.14, 263.19°)
OKLaboklab(51.08% -0.0388 -0.0844)
OKLCHoklch(51.08% 0.093 245.3)
XYZxyz(12.2883, 13.4849, 31.6549)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B98 #986033
analogous
#339893 #336B98 #333898
triadic
#336B98 #98336B #6B9833
tetradic
#336B98 #933398 #986033 #389833
square
#336B98 #933398 #986033 #389833
split-complementary
#336B98 #983338 #989333
monochromatic
#142A3C #244B6A #336B98 #478BC1 #75A8D1

Accessibility & contrast

On white

5.68
#336B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#336B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B98
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B98#FFFFFF#000000##FFFFFF
##336B981.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576C9A
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#00767B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336b98;
/* rgb */ color: rgb(51, 107, 152);
/* oklch */ color: oklch(51.1% 0.093 245.3);
Tailwind
colors: {
  custom: {
    50: '#7695b6',
    500: '#336b98',
    950: '#000000',
  },
}
SCSS
$custom: #336b98;
$custom-light: #7695b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336b98",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 152
  },
  "hsl": {
    "h": 206.733,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.09292,
    "h": 245.3
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#336B98
secondary
#B98F6E
accent
#8C4FD9
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336B98

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

Preview Lab → · Contrast checker → · Palette generator →

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