#336F7E#336F7E

#336F7E is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 50.8% C 0.066 H 216.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#336F7E
RGBrgb(51, 111, 126)
HSLhsl(192, 42%, 35%)
HSVhsv(192, 60%, 49%)
CMYKcmyk(59.5%, 11.9%, 0%, 50.6%)
CIE-LABlab(43.62, -14.71, -14.18)
CIE-LCHlch(43.62, 20.43, 223.96°)
OKLaboklab(50.82% -0.0532 -0.0393)
OKLCHoklch(50.82% 0.066 216.5)
XYZxyz(10.8141, 13.5780, 21.7855)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F7E #7E4233
analogous
#337E68 #336F7E #334A7E
triadic
#336F7E #7E336F #6F7E33
tetradic
#336F7E #68337E #7E4233 #4A7E33
square
#336F7E #68337E #7E4233 #4A7E33
split-complementary
#336F7E #7E334A #7E6833
monochromatic
#102227 #214952 #336F7E #4595AA #69B0C2

Accessibility & contrast

On white

5.65
#336F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#336F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F7E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F7E#FFFFFF#000000##FFFFFF
##336F7E1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656C7F
Deuteranopia (green-blind)
#5A637E
Tritanopia (blue-blind)
#007474
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336f7e;
/* rgb */ color: rgb(51, 111, 126);
/* oklch */ color: oklch(50.8% 0.066 216.5);
Tailwind
colors: {
  custom: {
    50: '#7298a3',
    500: '#336f7e',
    950: '#000000',
  },
}
SCSS
$custom: #336f7e;
$custom-light: #7298a3;
$custom-dark: #000000;
JSON
{
  "hex": "#336f7e",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 126
  },
  "hsl": {
    "h": 192,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.06614,
    "h": 216.5
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#336F7E
secondary
#AA7163
accent
#6F56D2
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #336F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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