#508BB1#508BB1

#508BB1 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.2% C 0.085 H 238.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#508BB1
RGBrgb(80, 139, 177)
HSLhsl(204, 38%, 50%)
HSVhsv(204, 55%, 69%)
CMYKcmyk(54.8%, 21.5%, 0%, 30.6%)
CIE-LABlab(55.42, -8.14, -25.84)
CIE-LCHlch(55.42, 27.10, 252.52°)
OKLaboklab(61.21% -0.0442 -0.0721)
OKLCHoklch(61.21% 0.085 238.5)
XYZxyz(20.4738, 23.3433, 45.0132)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BB1 #B17650
analogous
#50B1A6 #508BB1 #505AB1
triadic
#508BB1 #B1508B #8BB150
tetradic
#508BB1 #A650B1 #B17650 #5AB150
square
#508BB1 #A650B1 #B17650 #5AB150
split-complementary
#508BB1 #B1505A #B1A650
monochromatic
#29495D #3C6A87 #508BB1 #7AA7C4 #A5C3D7

Accessibility & contrast

On white

3.70
#508BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#508BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BB1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BB1#FFFFFF#000000##000000
##508BB11.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8AB3
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#089598
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #508bb1;
/* rgb */ color: rgb(80, 139, 177);
/* oklch */ color: oklch(61.2% 0.085 238.5);
Tailwind
colors: {
  custom: {
    50: '#88acc8',
    500: '#508bb1',
    950: '#000000',
  },
}
SCSS
$custom: #508bb1;
$custom-light: #88acc8;
$custom-dark: #000000;
JSON
{
  "hex": "#508bb1",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 203.505,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61214,
    "c": 0.0846,
    "h": 238.5
  },
  "luminance": 0.23345
}

Semantic roles & 50–950 ramp

primary
#508BB1
secondary
#C4AA99
accent
#875ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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