#336E8F#336E8F

#336E8F is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.3% C 0.081 H 235.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#336E8F
RGBrgb(51, 110, 143)
HSLhsl(202, 47%, 38%)
HSVhsv(202, 64%, 56%)
CMYKcmyk(64.3%, 23.1%, 0%, 43.9%)
CIE-LABlab(44.00, -8.50, -23.77)
CIE-LCHlch(44.00, 25.25, 250.32°)
OKLaboklab(51.35% -0.0452 -0.0666)
OKLCHoklch(51.35% 0.081 235.8)
XYZxyz(11.8972, 13.8376, 28.0252)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E8F #8F5433
analogous
#338F82 #336E8F #33408F
triadic
#336E8F #8F336E #6E8F33
tetradic
#336E8F #82338F #8F5433 #408F33
square
#336E8F #82338F #8F5433 #408F33
split-complementary
#336E8F #8F3340 #8F8233
monochromatic
#132935 #234B62 #336E8F #4391BC #70ABCC

Accessibility & contrast

On white

5.57
#336E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#336E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E8F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E8F#FFFFFF#000000##FFFFFF
##336E8F1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D91
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#007779
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336e8f;
/* rgb */ color: rgb(51, 110, 143);
/* oklch */ color: oklch(51.3% 0.081 235.8);
Tailwind
colors: {
  custom: {
    50: '#7497b0',
    500: '#336e8f',
    950: '#000000',
  },
}
SCSS
$custom: #336e8f;
$custom-light: #7497b0;
$custom-dark: #000000;
JSON
{
  "hex": "#336e8f",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 143
  },
  "hsl": {
    "h": 201.522,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.08053,
    "h": 235.8
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#336E8F
secondary
#B4846A
accent
#8151D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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