#336F99#336F99

#336F99 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.1% C 0.091 H 241.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#336F99
RGBrgb(51, 111, 153)
HSLhsl(205, 50%, 40%)
HSVhsv(205, 67%, 60%)
CMYKcmyk(66.7%, 27.5%, 0%, 40%)
CIE-LABlab(44.76, -5.63, -28.53)
CIE-LCHlch(44.76, 29.08, 258.84°)
OKLaboklab(52.1% -0.0428 -0.0803)
OKLCHoklch(52.1% 0.091 241.9)
XYZxyz(12.7973, 14.3713, 32.2303)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F99 #995D33
analogous
#339990 #336F99 #333C99
triadic
#336F99 #99336F #6F9933
tetradic
#336F99 #903399 #995D33 #3C9933
square
#336F99 #903399 #995D33 #3C9933
split-complementary
#336F99 #99333C #999033
monochromatic
#142C3D #244E6B #336F99 #478FC2 #75ABD1

Accessibility & contrast

On white

5.42
#336F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336F99
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F99#FFFFFF#000000##FFFFFF
##336F991.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9B
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#00797E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336f99;
/* rgb */ color: rgb(51, 111, 153);
/* oklch */ color: oklch(52.1% 0.091 241.9);
Tailwind
colors: {
  custom: {
    50: '#7698b7',
    500: '#336f99',
    950: '#000000',
  },
}
SCSS
$custom: #336f99;
$custom-light: #7698b7;
$custom-dark: #000000;
JSON
{
  "hex": "#336f99",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 153
  },
  "hsl": {
    "h": 204.706,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.09103,
    "h": 241.9
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336F99

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

Preview Lab → · Contrast checker → · Palette generator →

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