#507FEB#507FEB

#507FEB is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.8% C 0.171 H 264.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#507FEB
RGBrgb(80, 127, 235)
HSLhsl(222, 79%, 62%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(66%, 46%, 0%, 7.8%)
CIE-LABlab(54.95, 18.30, -59.37)
CIE-LCHlch(54.95, 62.12, 287.13°)
OKLaboklab(61.79% -0.0169 -0.1699)
OKLCHoklch(61.79% 0.171 264.3)
XYZxyz(25.8878, 22.8799, 81.6331)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FEB #EBBC50
analogous
#50CDEB #507FEB #6F50EB
triadic
#507FEB #EB507F #7FEB50
tetradic
#507FEB #EB50CD #EBBC50 #50EB6F
square
#507FEB #EB50CD #EBBC50 #50EB6F
split-complementary
#507FEB #EB6F50 #CDEB50
monochromatic
#1442AD #1A57E4 #507FEB #87A7F1 #BECFF8

Accessibility & contrast

On white

3.77
#507FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#507FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FEB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FEB#FFFFFF#000000##000000
##507FEB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507feb;
/* rgb */ color: rgb(80, 127, 235);
/* oklch */ color: oklch(61.8% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#90a3f2',
    500: '#507feb',
    950: '#000000',
  },
}
SCSS
$custom: #507feb;
$custom-light: #90a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#507feb",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 221.806,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6179,
    "c": 0.17074,
    "h": 264.3
  },
  "luminance": 0.22882
}

Semantic roles & 50–950 ramp

primary
#507FEB
secondary
#E8D7AF
accent
#9C0ADC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #507FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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