#507EEB#507EEB

#507EEB is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.6% C 0.172 H 264.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#507EEB
RGBrgb(80, 126, 235)
HSLhsl(222, 79%, 62%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(66%, 46.4%, 0%, 7.8%)
CIE-LABlab(54.68, 18.91, -59.79)
CIE-LCHlch(54.68, 62.71, 287.55°)
OKLaboklab(61.59% -0.016 -0.1712)
OKLCHoklch(61.59% 0.172 264.7)
XYZxyz(25.7593, 22.6229, 81.5903)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EEB #EBBD50
analogous
#50CBEB #507EEB #7050EB
triadic
#507EEB #EB507E #7EEB50
tetradic
#507EEB #EB50CB #EBBD50 #50EB70
square
#507EEB #EB50CB #EBBD50 #50EB70
split-complementary
#507EEB #EB7050 #CBEB50
monochromatic
#1441AD #1A56E4 #507EEB #87A6F1 #BECFF8

Accessibility & contrast

On white

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

On black

5.53
#507EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EEB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EEB#FFFFFF#000000##000000
##507EEB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#267CE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507eeb;
/* rgb */ color: rgb(80, 126, 235);
/* oklch */ color: oklch(61.6% 0.172 264.7);
Tailwind
colors: {
  custom: {
    50: '#90a2f2',
    500: '#507eeb',
    950: '#000000',
  },
}
SCSS
$custom: #507eeb;
$custom-light: #90a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#507eeb",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 222.194,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.17192,
    "h": 264.7
  },
  "luminance": 0.22625
}

Semantic roles & 50–950 ramp

primary
#507EEB
secondary
#E8D7AF
accent
#9D0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #507EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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