#336788#336788

#336788 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.3% C 0.077 H 238.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#336788
RGBrgb(51, 103, 136)
HSLhsl(203, 45%, 37%)
HSVhsv(203, 63%, 53%)
CMYKcmyk(62.5%, 24.3%, 0%, 46.7%)
CIE-LABlab(41.50, -6.75, -23.45)
CIE-LCHlch(41.50, 24.40, 253.95°)
OKLaboklab(49.26% -0.0398 -0.0657)
OKLCHoklch(49.26% 0.077 238.8)
XYZxyz(10.6577, 12.1809, 25.0773)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336788 #885433
analogous
#33887F #336788 #333D88
triadic
#336788 #883367 #678833
tetradic
#336788 #7F3388 #885433 #3D8833
square
#336788 #7F3388 #885433 #3D8833
split-complementary
#336788 #88333D #887F33
monochromatic
#12242F #22455B #336788 #4489B5 #6DA5C8

Accessibility & contrast

On white

6.11
#336788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#336788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336788
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336788#FFFFFF#000000##FFFFFF
##3367881.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58678A
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336788;
/* rgb */ color: rgb(51, 103, 136);
/* oklch */ color: oklch(49.3% 0.077 238.8);
Tailwind
colors: {
  custom: {
    50: '#7392aa',
    500: '#336788',
    950: '#000000',
  },
}
SCSS
$custom: #336788;
$custom-light: #7392aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336788",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 203.294,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.07683,
    "h": 238.8
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#336788
secondary
#B08367
accent
#8553D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090D10
muted
#7B7D7F

Preview Lab

Preview with #336788

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

Preview Lab → · Contrast checker → · Palette generator →

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