#507CE9#507CE9

#507CE9 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.172 H 265.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#507CE9
RGBrgb(80, 124, 233)
HSLhsl(223, 78%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(65.7%, 46.8%, 0%, 8.6%)
CIE-LABlab(54.03, 19.44, -59.73)
CIE-LCHlch(54.03, 62.81, 288.03°)
OKLaboklab(61.05% -0.0145 -0.171)
OKLCHoklch(61.05% 0.172 265.2)
XYZxyz(25.2188, 22.0016, 79.9927)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CE9 #E9BD50
analogous
#50C9E9 #507CE9 #7150E9
triadic
#507CE9 #E9507C #7CE950
tetradic
#507CE9 #E950C9 #E9BD50 #50E971
square
#507CE9 #E950C9 #E9BD50 #50E971
split-complementary
#507CE9 #E97150 #C9E950
monochromatic
#1540A9 #1C54E0 #507CE9 #86A5F0 #BDCDF7

Accessibility & contrast

On white

3.89
#507CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#507CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CE9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CE9#FFFFFF#000000##000000
##507CE91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489ED
Deuteranopia (green-blind)
#237BE7
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507ce9;
/* rgb */ color: rgb(80, 124, 233);
/* oklch */ color: oklch(61.0% 0.172 265.2);
Tailwind
colors: {
  custom: {
    50: '#90a1f1',
    500: '#507ce9',
    950: '#000000',
  },
}
SCSS
$custom: #507ce9;
$custom-light: #90a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#507ce9",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 233
  },
  "hsl": {
    "h": 222.745,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61047,
    "c": 0.17161,
    "h": 265.2
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#507CE9
secondary
#E7D7AE
accent
#9F0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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