#508EB4#508EB4

#508EB4 is a light, moderate cyan. Relative luminance 0.243; OKLCH L 62.1% C 0.086 H 237.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#508EB4
RGBrgb(80, 142, 180)
HSLhsl(203, 40%, 51%)
HSVhsv(203, 56%, 71%)
CMYKcmyk(55.6%, 21.1%, 0%, 29.4%)
CIE-LABlab(56.43, -8.90, -26.00)
CIE-LCHlch(56.43, 27.48, 251.11°)
OKLaboklab(62.05% -0.0466 -0.0726)
OKLCHoklch(62.05% 0.086 237.3)
XYZxyz(21.2164, 24.3449, 46.7521)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508EB4 #B47650
analogous
#50B4A8 #508EB4 #505CB4
triadic
#508EB4 #B4508E #8EB450
tetradic
#508EB4 #A850B4 #B47650 #5CB450
square
#508EB4 #A850B4 #B47650 #5CB450
split-complementary
#508EB4 #B4505C #B4A850
monochromatic
#294B60 #3C6D8B #508EB4 #7BAAC6 #A6C5D9

Accessibility & contrast

On white

3.58
#508EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#508EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508EB4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508EB4#FFFFFF#000000##000000
##508EB41.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB6
Deuteranopia (green-blind)
#6F83B3
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #508eb4;
/* rgb */ color: rgb(80, 142, 180);
/* oklch */ color: oklch(62.1% 0.086 237.3);
Tailwind
colors: {
  custom: {
    50: '#88afca',
    500: '#508eb4',
    950: '#000000',
  },
}
SCSS
$custom: #508eb4;
$custom-light: #88afca;
$custom-dark: #000000;
JSON
{
  "hex": "#508eb4",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 202.8,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.62053,
    "c": 0.08626,
    "h": 237.3
  },
  "luminance": 0.24347
}

Semantic roles & 50–950 ramp

primary
#508EB4
secondary
#C6AB9A
accent
#8658D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508EB4

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

Preview Lab → · Contrast checker → · Palette generator →

#508EB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva