#508AF6#508AF6

#508AF6 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.8% C 0.173 H 261.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#508AF6
RGBrgb(80, 138, 246)
HSLhsl(219, 90%, 64%)
HSVhsv(219, 67%, 96%)
CMYKcmyk(67.5%, 43.9%, 0%, 3.5%)
CIE-LABlab(58.54, 15.41, -59.71)
CIE-LCHlch(58.54, 61.67, 284.47°)
OKLaboklab(64.76% -0.0252 -0.1707)
OKLCHoklch(64.76% 0.173 261.6)
XYZxyz(29.0254, 26.5333, 90.7627)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AF6 #F6BC50
analogous
#50DDF6 #508AF6 #6950F6
triadic
#508AF6 #F6508A #8AF650
tetradic
#508AF6 #F650DD #F6BC50 #50F669
square
#508AF6 #F650DD #F6BC50 #50F669
split-complementary
#508AF6 #F66950 #DDF650
monochromatic
#0A4AC2 #1663F3 #508AF6 #8AB1F9 #C4D8FC

Accessibility & contrast

On white

3.33
#508AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#508AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AF6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AF6#FFFFFF#000000##000000
##508AF61.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#3786F4
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #508af6;
/* rgb */ color: rgb(80, 138, 246);
/* oklch */ color: oklch(64.8% 0.173 261.6);
Tailwind
colors: {
  custom: {
    50: '#92abfa',
    500: '#508af6',
    950: '#000000',
  },
}
SCSS
$custom: #508af6;
$custom-light: #92abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#508af6",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 219.036,
    "s": 90.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64757,
    "c": 0.17259,
    "h": 261.6
  },
  "luminance": 0.26536
}

Semantic roles & 50–950 ramp

primary
#508AF6
secondary
#EEDAB4
accent
#9500E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #508AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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