#508398#508398

#508398 is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.2% C 0.063 H 226.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#508398
RGBrgb(80, 131, 152)
HSLhsl(198, 31%, 45%)
HSVhsv(198, 47%, 60%)
CMYKcmyk(47.4%, 13.8%, 0%, 40.4%)
CIE-LABlab(52.07, -11.18, -16.58)
CIE-LCHlch(52.07, 20.00, 236.00°)
OKLaboklab(58.23% -0.0439 -0.0458)
OKLCHoklch(58.23% 0.063 226.2)
XYZxyz(17.0900, 20.2038, 32.6988)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508398 #986550
analogous
#509889 #508398 #505F98
triadic
#508398 #985083 #839850
tetradic
#508398 #895098 #986550 #5F9850
square
#508398 #895098 #986550 #5F9850
split-complementary
#508398 #98505F #988950
monochromatic
#263E48 #3B6070 #508398 #71A1B4 #99BBC9

Accessibility & contrast

On white

4.17
#508398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#508398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508398
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508398#FFFFFF#000000##000000
##5083981.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#788199
Deuteranopia (green-blind)
#6D7998
Tritanopia (blue-blind)
#2E898A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508398;
/* rgb */ color: rgb(80, 131, 152);
/* oklch */ color: oklch(58.2% 0.063 226.2);
Tailwind
colors: {
  custom: {
    50: '#85a7b6',
    500: '#508398',
    950: '#000000',
  },
}
SCSS
$custom: #508398;
$custom-light: #85a7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#508398",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 152
  },
  "hsl": {
    "h": 197.5,
    "s": 31.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.06346,
    "h": 226.2
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#508398
secondary
#B6998E
accent
#7F61C7
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0B0F11
muted
#7C7F80

Preview Lab

Preview with #508398

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

Preview Lab → · Contrast checker → · Palette generator →

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