#507BE9#507BE9

#507BE9 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.8% C 0.173 H 265.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#507BE9
RGBrgb(80, 123, 233)
HSLhsl(223, 78%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(65.7%, 47.2%, 0%, 8.6%)
CIE-LABlab(53.76, 20.06, -60.15)
CIE-LCHlch(53.76, 63.41, 288.44°)
OKLaboklab(60.84% -0.0135 -0.1723)
OKLCHoklch(60.84% 0.173 265.5)
XYZxyz(25.0941, 21.7522, 79.9511)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BE9 #E9BE50
analogous
#50C8E9 #507BE9 #7250E9
triadic
#507BE9 #E9507B #7BE950
tetradic
#507BE9 #E950C8 #E9BE50 #50E972
square
#507BE9 #E950C8 #E9BE50 #50E972
split-complementary
#507BE9 #E97250 #C8E950
monochromatic
#153FA9 #1C53E0 #507BE9 #86A4F0 #BDCDF7

Accessibility & contrast

On white

3.92
#507BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#507BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BE9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BE9#FFFFFF#000000##000000
##507BE91.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4288ED
Deuteranopia (green-blind)
#207AE7
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507be9;
/* rgb */ color: rgb(80, 123, 233);
/* oklch */ color: oklch(60.8% 0.173 265.5);
Tailwind
colors: {
  custom: {
    50: '#90a0f1',
    500: '#507be9',
    950: '#000000',
  },
}
SCSS
$custom: #507be9;
$custom-light: #90a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#507be9",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 223.137,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.1728,
    "h": 265.5
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#507BE9
secondary
#E7D7AE
accent
#A00CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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