#336A88#336A88

#336A88 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.0% C 0.075 H 234.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#336A88
RGBrgb(51, 106, 136)
HSLhsl(201, 45%, 37%)
HSVhsv(201, 63%, 53%)
CMYKcmyk(62.5%, 22.1%, 0%, 46.7%)
CIE-LABlab(42.44, -8.53, -22.00)
CIE-LCHlch(42.44, 23.59, 248.80°)
OKLaboklab(50.01% -0.0432 -0.0615)
OKLCHoklch(50.01% 0.075 234.9)
XYZxyz(10.9615, 12.7884, 25.1785)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A88 #885133
analogous
#33887C #336A88 #334088
triadic
#336A88 #88336A #6A8833
tetradic
#336A88 #7C3388 #885133 #408833
square
#336A88 #7C3388 #885133 #408833
split-complementary
#336A88 #883340 #887C33
monochromatic
#12252F #22475B #336A88 #448DB5 #6DA8C8

Accessibility & contrast

On white

5.90
#336A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#336A88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A88
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A88#FFFFFF#000000##FFFFFF
##336A881.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6989
Deuteranopia (green-blind)
#506088
Tritanopia (blue-blind)
#007274
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336a88;
/* rgb */ color: rgb(51, 106, 136);
/* oklch */ color: oklch(50.0% 0.075 234.9);
Tailwind
colors: {
  custom: {
    50: '#7394aa',
    500: '#336a88',
    950: '#000000',
  },
}
SCSS
$custom: #336a88;
$custom-light: #7394aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336a88",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 136
  },
  "hsl": {
    "h": 201.176,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.07523,
    "h": 234.9
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#336A88
secondary
#B08167
accent
#8153D5
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336A88

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

Preview Lab → · Contrast checker → · Palette generator →

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