#336A8F#336A8F

#336A8F is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.4% C 0.083 H 240.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#336A8F
RGBrgb(51, 106, 143)
HSLhsl(204, 47%, 38%)
HSVhsv(204, 64%, 56%)
CMYKcmyk(64.3%, 25.9%, 0%, 43.9%)
CIE-LABlab(42.75, -6.13, -25.71)
CIE-LCHlch(42.75, 26.43, 256.59°)
OKLaboklab(50.36% -0.0407 -0.0722)
OKLCHoklch(50.36% 0.083 240.6)
XYZxyz(11.4753, 12.9939, 27.8846)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A8F #8F5833
analogous
#338F86 #336A8F #333C8F
triadic
#336A8F #8F336A #6A8F33
tetradic
#336A8F #86338F #8F5833 #3C8F33
square
#336A8F #86338F #8F5833 #3C8F33
split-complementary
#336A8F #8F333C #8F8633
monochromatic
#132735 #234962 #336A8F #438BBC #70A7CC

Accessibility & contrast

On white

5.83
#336A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#336A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A8F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A8F#FFFFFF#000000##FFFFFF
##336A8F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#4D618E
Tritanopia (blue-blind)
#007377
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336a8f;
/* rgb */ color: rgb(51, 106, 143);
/* oklch */ color: oklch(50.4% 0.083 240.6);
Tailwind
colors: {
  custom: {
    50: '#7494b0',
    500: '#336a8f',
    950: '#000000',
  },
}
SCSS
$custom: #336a8f;
$custom-light: #7494b0;
$custom-dark: #000000;
JSON
{
  "hex": "#336a8f",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 143
  },
  "hsl": {
    "h": 204.13,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.0829,
    "h": 240.6
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#336A8F
secondary
#B4886A
accent
#8751D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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