#336E8A#336E8A

#336E8A is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.1% C 0.076 H 231.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#336E8A
RGBrgb(51, 110, 138)
HSLhsl(199, 46%, 37%)
HSVhsv(199, 63%, 54%)
CMYKcmyk(63%, 20.3%, 0%, 45.9%)
CIE-LABlab(43.78, -10.20, -21.12)
CIE-LCHlch(43.78, 23.46, 244.22°)
OKLaboklab(51.11% -0.0471 -0.059)
OKLCHoklch(51.11% 0.076 231.4)
XYZxyz(11.5268, 13.6895, 26.0747)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E8A #8A4F33
analogous
#338A7B #336E8A #33438A
triadic
#336E8A #8A336E #6E8A33
tetradic
#336E8A #7B338A #8A4F33 #438A33
square
#336E8A #7B338A #8A4F33 #438A33
split-complementary
#336E8A #8A3343 #8A7B33
monochromatic
#122731 #224A5D #336E8A #4492B7 #6EACC9

Accessibility & contrast

On white

5.62
#336E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#336E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E8A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E8A#FFFFFF#000000##FFFFFF
##336E8A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8B
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#007677
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336e8a;
/* rgb */ color: rgb(51, 110, 138);
/* oklch */ color: oklch(51.1% 0.076 231.4);
Tailwind
colors: {
  custom: {
    50: '#7497ac',
    500: '#336e8a',
    950: '#000000',
  },
}
SCSS
$custom: #336e8a;
$custom-light: #7497ac;
$custom-dark: #000000;
JSON
{
  "hex": "#336e8a",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 138
  },
  "hsl": {
    "h": 199.31,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.07552,
    "h": 231.4
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#336E8A
secondary
#B17F67
accent
#7C52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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