#508AFC#508AFC

#508AFC is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.1% C 0.180 H 262.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#508AFC
RGBrgb(80, 138, 252)
HSLhsl(220, 97%, 65%)
HSVhsv(220, 68%, 99%)
CMYKcmyk(68.3%, 45.2%, 0%, 1.2%)
CIE-LABlab(58.89, 17.49, -62.45)
CIE-LCHlch(58.89, 64.86, 285.64°)
OKLaboklab(65.14% -0.0242 -0.1788)
OKLCHoklch(65.14% 0.18 262.3)
XYZxyz(29.9612, 26.9076, 95.6913)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AFC #FCC250
analogous
#50E0FC #508AFC #6C50FC
triadic
#508AFC #FC508A #8AFC50
tetradic
#508AFC #FC50E0 #FCC250 #50FC6C
square
#508AFC #FC50E0 #FCC250 #50FC6C
split-complementary
#508AFC #FC6C50 #E0FC50
monochromatic
#0448CE #1462FB #508AFC #8CB2FD #C8DAFE

Accessibility & contrast

On white

3.29
#508AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#508AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AFC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AFC#FFFFFF#000000##000000
##508AFC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#2D86FA
Tritanopia (blue-blind)
#00A5B7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #508afc;
/* rgb */ color: rgb(80, 138, 252);
/* oklch */ color: oklch(65.1% 0.180 262.3);
Tailwind
colors: {
  custom: {
    50: '#93abfe',
    500: '#508afc',
    950: '#000000',
  },
}
SCSS
$custom: #508afc;
$custom-light: #93abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#508afc",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 219.767,
    "s": 96.629,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65138,
    "c": 0.18044,
    "h": 262.3
  },
  "luminance": 0.26911
}

Semantic roles & 50–950 ramp

primary
#508AFC
secondary
#F1DDB7
accent
#9800E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1018
muted
#7E7F86

Preview Lab

Preview with #508AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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