#508AFF#508AFF

#508AFF is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.3% C 0.184 H 262.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#508AFF
RGBrgb(80, 138, 255)
HSLhsl(220, 100%, 66%)
HSVhsv(220, 69%, 100%)
CMYKcmyk(68.6%, 45.9%, 0%, 0%)
CIE-LABlab(59.07, 18.53, -63.82)
CIE-LCHlch(59.07, 66.45, 286.19°)
OKLaboklab(65.33% -0.0238 -0.1828)
OKLCHoklch(65.33% 0.184 262.6)
XYZxyz(30.4403, 27.0993, 98.2148)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AFF #FFC550
analogous
#50E2FF #508AFF #6D50FF
triadic
#508AFF #FF508A #8AFF50
tetradic
#508AFF #FF50E2 #FFC550 #50FF6D
square
#508AFF #FF50E2 #FFC550 #50FF6D
split-complementary
#508AFF #FF6D50 #E2FF50
monochromatic
#0046D5 #1361FF #508AFF #8DB3FF #CADCFF

Accessibility & contrast

On white

3.27
#508AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#508AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AFF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AFF#FFFFFF#000000##000000
##508AFF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D97FF
Deuteranopia (green-blind)
#2787FD
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #508aff;
/* rgb */ color: rgb(80, 138, 255);
/* oklch */ color: oklch(65.3% 0.184 262.6);
Tailwind
colors: {
  custom: {
    50: '#94abff',
    500: '#508aff',
    950: '#000000',
  },
}
SCSS
$custom: #508aff;
$custom-light: #94abff;
$custom-dark: #000000;
JSON
{
  "hex": "#508aff",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 220.114,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65331,
    "c": 0.18437,
    "h": 262.6
  },
  "luminance": 0.27102
}

Semantic roles & 50–950 ramp

primary
#508AFF
secondary
#F3DFB8
accent
#9900E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1018
muted
#7E7F86

Preview Lab

Preview with #508AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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