#507BF5#507BF5

#507BF5 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.189 H 266.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#507BF5
RGBrgb(80, 123, 245)
HSLhsl(224, 89%, 64%)
HSVhsv(224, 67%, 96%)
CMYKcmyk(67.3%, 49.8%, 0%, 3.9%)
CIE-LABlab(54.51, 24.21, -65.63)
CIE-LCHlch(54.51, 69.95, 290.25°)
OKLaboklab(61.66% -0.0121 -0.1884)
OKLCHoklch(61.66% 0.189 266.3)
XYZxyz(26.8669, 22.4613, 89.2881)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BF5 #F5CA50
analogous
#50CDF5 #507BF5 #7750F5
triadic
#507BF5 #F5507B #7BF550
tetradic
#507BF5 #F550CD #F5CA50 #50F577
square
#507BF5 #F550CD #F5CA50 #50F577
split-complementary
#507BF5 #F57750 #CDF550
monochromatic
#0B3AC0 #164FF2 #507BF5 #8AA7F8 #C4D2FC

Accessibility & contrast

On white

3.82
#507BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#507BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BF5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BF5#FFFFFF#000000##000000
##507BF51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AF9
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507bf5;
/* rgb */ color: rgb(80, 123, 245);
/* oklch */ color: oklch(61.7% 0.189 266.3);
Tailwind
colors: {
  custom: {
    50: '#92a0f9',
    500: '#507bf5',
    950: '#000000',
  },
}
SCSS
$custom: #507bf5;
$custom-light: #92a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#507bf5",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 224.364,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61656,
    "c": 0.18877,
    "h": 266.3
  },
  "luminance": 0.22464
}

Semantic roles & 50–950 ramp

primary
#507BF5
secondary
#EDDEB3
accent
#AA00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507BF5

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

Preview Lab → · Contrast checker → · Palette generator →

#507BF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva