#336988#336988

#336988 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.8% C 0.076 H 236.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#336988
RGBrgb(51, 105, 136)
HSLhsl(202, 45%, 37%)
HSVhsv(202, 63%, 53%)
CMYKcmyk(62.5%, 22.8%, 0%, 46.7%)
CIE-LABlab(42.13, -7.94, -22.48)
CIE-LCHlch(42.13, 23.84, 250.55°)
OKLaboklab(49.76% -0.0421 -0.0629)
OKLCHoklch(49.76% 0.076 236.2)
XYZxyz(10.8591, 12.5835, 25.1444)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336988 #885233
analogous
#33887D #336988 #333F88
triadic
#336988 #883369 #698833
tetradic
#336988 #7D3388 #885233 #3F8833
square
#336988 #7D3388 #885233 #3F8833
split-complementary
#336988 #88333F #887D33
monochromatic
#12242F #22475B #336988 #448BB5 #6DA7C8

Accessibility & contrast

On white

5.97
#336988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#336988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336988
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336988#FFFFFF#000000##FFFFFF
##3369881.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6889
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336988;
/* rgb */ color: rgb(51, 105, 136);
/* oklch */ color: oklch(49.8% 0.076 236.2);
Tailwind
colors: {
  custom: {
    50: '#7393aa',
    500: '#336988',
    950: '#000000',
  },
}
SCSS
$custom: #336988;
$custom-light: #7393aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336988",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 136
  },
  "hsl": {
    "h": 201.882,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.07572,
    "h": 236.2
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#336988
secondary
#B08167
accent
#8253D5
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336988

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

Preview Lab → · Contrast checker → · Palette generator →

#336988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva