#507FE9#507FE9

#507FE9 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.7% C 0.168 H 264.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#507FE9
RGBrgb(80, 127, 233)
HSLhsl(222, 78%, 61%)
HSVhsv(222, 66%, 91%)
CMYKcmyk(65.7%, 45.5%, 0%, 8.6%)
CIE-LABlab(54.83, 17.61, -58.44)
CIE-LCHlch(54.83, 61.04, 286.76°)
OKLaboklab(61.66% -0.0172 -0.1672)
OKLCHoklch(61.66% 0.168 264.1)
XYZxyz(25.6005, 22.7649, 80.1199)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FE9 #E9BA50
analogous
#50CBE9 #507FE9 #6E50E9
triadic
#507FE9 #E9507F #7FE950
tetradic
#507FE9 #E950CB #E9BA50 #50E96E
square
#507FE9 #E950CB #E9BA50 #50E96E
split-complementary
#507FE9 #E96E50 #CBE950
monochromatic
#1543A9 #1C58E0 #507FE9 #86A7F0 #BDCFF7

Accessibility & contrast

On white

3.78
#507FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#507FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FE9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FE9#FFFFFF#000000##000000
##507FE91.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#2D7DE7
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507fe9;
/* rgb */ color: rgb(80, 127, 233);
/* oklch */ color: oklch(61.7% 0.168 264.1);
Tailwind
colors: {
  custom: {
    50: '#90a3f1',
    500: '#507fe9',
    950: '#000000',
  },
}
SCSS
$custom: #507fe9;
$custom-light: #90a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#507fe9",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 233
  },
  "hsl": {
    "h": 221.569,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.16807,
    "h": 264.1
  },
  "luminance": 0.22767
}

Semantic roles & 50–950 ramp

primary
#507FE9
secondary
#E7D5AE
accent
#9B0CDA
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #507FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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