#507EC2#507EC2

#507EC2 is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.1% C 0.116 H 258.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#507EC2
RGBrgb(80, 126, 194)
HSLhsl(216, 48%, 54%)
HSVhsv(216, 59%, 76%)
CMYKcmyk(58.8%, 35.1%, 0%, 23.9%)
CIE-LABlab(52.42, 4.95, -40.25)
CIE-LCHlch(52.42, 40.56, 277.01°)
OKLaboklab(59.11% -0.0242 -0.1139)
OKLCHoklch(59.11% 0.116 258)
XYZxyz(20.5033, 20.5205, 53.9088)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EC2 #C29450
analogous
#50B7C2 #507EC2 #5B50C2
triadic
#507EC2 #C2507E #7EC250
tetradic
#507EC2 #C250B7 #C29450 #50C25B
square
#507EC2 #C250B7 #C29450 #50C25B
split-complementary
#507EC2 #C25B50 #B7C250
monochromatic
#274570 #37609E #507EC2 #7D9FD2 #ABC1E2

Accessibility & contrast

On white

4.11
#507EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#507EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EC2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EC2#FFFFFF#000000##000000
##507EC21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6283C5
Deuteranopia (green-blind)
#5378C1
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507ec2;
/* rgb */ color: rgb(80, 126, 194);
/* oklch */ color: oklch(59.1% 0.116 258.0);
Tailwind
colors: {
  custom: {
    50: '#8aa3d5',
    500: '#507ec2',
    950: '#000000',
  },
}
SCSS
$custom: #507ec2;
$custom-light: #8aa3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#507ec2",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 215.789,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.11642,
    "h": 258
  },
  "luminance": 0.20522
}

Semantic roles & 50–950 ramp

primary
#507EC2
secondary
#CFBC9F
accent
#A150D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #507EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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