#336F89#336F89

#336F89 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.3% C 0.074 H 229.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#336F89
RGBrgb(51, 111, 137)
HSLhsl(198, 46%, 37%)
HSVhsv(198, 63%, 54%)
CMYKcmyk(62.8%, 19%, 0%, 46.3%)
CIE-LABlab(44.06, -11.11, -20.10)
CIE-LCHlch(44.06, 22.97, 241.07°)
OKLaboklab(51.31% -0.0487 -0.0561)
OKLCHoklch(51.31% 0.074 229.1)
XYZxyz(11.5633, 13.8777, 25.7313)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F89 #894D33
analogous
#338978 #336F89 #334489
triadic
#336F89 #89336F #6F8933
tetradic
#336F89 #783389 #894D33 #448933
square
#336F89 #783389 #894D33 #448933
split-complementary
#336F89 #893344 #897833
monochromatic
#122730 #224B5C #336F89 #4493B6 #6EADC9

Accessibility & contrast

On white

5.56
#336F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#336F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F89
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F89#FFFFFF#000000##FFFFFF
##336F891.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626D8A
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#007677
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336f89;
/* rgb */ color: rgb(51, 111, 137);
/* oklch */ color: oklch(51.3% 0.074 229.1);
Tailwind
colors: {
  custom: {
    50: '#7498ab',
    500: '#336f89',
    950: '#000000',
  },
}
SCSS
$custom: #336f89;
$custom-light: #7498ab;
$custom-dark: #000000;
JSON
{
  "hex": "#336f89",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 137
  },
  "hsl": {
    "h": 198.14,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.07428,
    "h": 229.1
  },
  "luminance": 0.13879
}

Semantic roles & 50–950 ramp

primary
#336F89
secondary
#B17D67
accent
#7A52D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336F89

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

Preview Lab → · Contrast checker → · Palette generator →

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