#507CEA#507CEA

#507CEA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.1% C 0.173 H 265.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#507CEA
RGBrgb(80, 124, 234)
HSLhsl(223, 79%, 62%)
HSVhsv(223, 66%, 92%)
CMYKcmyk(65.8%, 47%, 0%, 8.2%)
CIE-LABlab(54.09, 19.79, -60.19)
CIE-LCHlch(54.09, 63.36, 288.20°)
OKLaboklab(61.11% -0.0143 -0.1724)
OKLCHoklch(61.11% 0.173 265.2)
XYZxyz(25.3620, 22.0589, 80.7472)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CEA #EABE50
analogous
#50C9EA #507CEA #7150EA
triadic
#507CEA #EA507C #7CEA50
tetradic
#507CEA #EA50C9 #EABE50 #50EA71
square
#507CEA #EA50C9 #EABE50 #50EA71
split-complementary
#507CEA #EA7150 #C9EA50
monochromatic
#1540AB #1B54E2 #507CEA #87A5F1 #BDCEF7

Accessibility & contrast

On white

3.88
#507CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#507CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CEA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CEA#FFFFFF#000000##000000
##507CEA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#217BE8
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507cea;
/* rgb */ color: rgb(80, 124, 234);
/* oklch */ color: oklch(61.1% 0.173 265.2);
Tailwind
colors: {
  custom: {
    50: '#90a1f1',
    500: '#507cea',
    950: '#000000',
  },
}
SCSS
$custom: #507cea;
$custom-light: #90a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#507cea",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 222.857,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61113,
    "c": 0.17295,
    "h": 265.2
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#507CEA
secondary
#E8D7AE
accent
#9F0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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