#336980#336980

#336980 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.4% C 0.068 H 228.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#336980
RGBrgb(51, 105, 128)
HSLhsl(198, 43%, 35%)
HSVhsv(198, 60%, 50%)
CMYKcmyk(60.2%, 18%, 0%, 49.8%)
CIE-LABlab(41.79, -10.62, -18.18)
CIE-LCHlch(41.79, 21.06, 239.70°)
OKLaboklab(49.38% -0.0452 -0.0507)
OKLCHoklch(49.38% 0.068 228.3)
XYZxyz(10.3116, 12.3645, 22.2611)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336980 #804A33
analogous
#338070 #336980 #334280
triadic
#336980 #803369 #698033
tetradic
#336980 #703380 #804A33 #428033
square
#336980 #703380 #804A33 #428033
split-complementary
#336980 #803342 #807033
monochromatic
#102128 #224554 #336980 #448DAC #6AA9C4

Accessibility & contrast

On white

6.05
#336980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#336980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336980
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336980#FFFFFF#000000##FFFFFF
##3369801.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6781
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#007070
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336980;
/* rgb */ color: rgb(51, 105, 128);
/* oklch */ color: oklch(49.4% 0.068 228.3);
Tailwind
colors: {
  custom: {
    50: '#7293a5',
    500: '#336980',
    950: '#000000',
  },
}
SCSS
$custom: #336980;
$custom-light: #7293a5;
$custom-dark: #000000;
JSON
{
  "hex": "#336980",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 128
  },
  "hsl": {
    "h": 197.922,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.06788,
    "h": 228.3
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#336980
secondary
#AB7963
accent
#7B55D3
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #336980

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

Preview Lab → · Contrast checker → · Palette generator →

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