#507FE6#507FE6

#507FE6 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.164 H 263.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#507FE6
RGBrgb(80, 127, 230)
HSLhsl(221, 75%, 61%)
HSVhsv(221, 65%, 90%)
CMYKcmyk(65.2%, 44.8%, 0%, 9.8%)
CIE-LABlab(54.65, 16.57, -57.05)
CIE-LCHlch(54.65, 59.41, 286.20°)
OKLaboklab(61.47% -0.0177 -0.1631)
OKLCHoklch(61.47% 0.164 263.8)
XYZxyz(25.1756, 22.5950, 77.8821)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FE6 #E6B750
analogous
#50CAE6 #507FE6 #6C50E6
triadic
#507FE6 #E6507F #7FE650
tetradic
#507FE6 #E650CA #E6B750 #50E66C
square
#507FE6 #E650CA #E6B750 #50E66C
split-complementary
#507FE6 #E66C50 #CAE650
monochromatic
#1744A4 #1F5ADA #507FE6 #86A6EE #BBCDF5

Accessibility & contrast

On white

3.80
#507FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#507FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FE6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FE6#FFFFFF#000000##000000
##507FE61.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AEA
Deuteranopia (green-blind)
#327CE4
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507fe6;
/* rgb */ color: rgb(80, 127, 230);
/* oklch */ color: oklch(61.5% 0.164 263.8);
Tailwind
colors: {
  custom: {
    50: '#90a3ee',
    500: '#507fe6',
    950: '#000000',
  },
}
SCSS
$custom: #507fe6;
$custom-light: #90a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#507fe6",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 221.2,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.16404,
    "h": 263.8
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

primary
#507FE6
secondary
#E5D4AC
accent
#980ED7
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #507FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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