#507FDA#507FDA

#507FDA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.7% C 0.148 H 262.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#507FDA
RGBrgb(80, 127, 218)
HSLhsl(220, 65%, 58%)
HSVhsv(220, 63%, 85%)
CMYKcmyk(63.3%, 41.7%, 0%, 14.5%)
CIE-LABlab(53.97, 12.45, -51.41)
CIE-LCHlch(53.97, 52.90, 283.61°)
OKLaboklab(60.72% -0.0198 -0.1465)
OKLCHoklch(60.72% 0.148 262.3)
XYZxyz(23.5481, 21.9440, 69.3107)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FDA #DAAB50
analogous
#50C4DA #507FDA #6650DA
triadic
#507FDA #DA507F #7FDA50
tetradic
#507FDA #DA50C4 #DAAB50 #50DA66
square
#507FDA #DA50C4 #DAAB50 #50DA66
split-complementary
#507FDA #DA6650 #C4DA50
monochromatic
#1F4691 #295EC3 #507FDA #83A4E5 #B5C9EF

Accessibility & contrast

On white

3.90
#507FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#507FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FDA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FDA#FFFFFF#000000##000000
##507FDA1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DE
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507fda;
/* rgb */ color: rgb(80, 127, 218);
/* oklch */ color: oklch(60.7% 0.148 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ea3e6',
    500: '#507fda',
    950: '#000000',
  },
}
SCSS
$custom: #507fda;
$custom-light: #8ea3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#507fda",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 219.565,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60719,
    "c": 0.14787,
    "h": 262.3
  },
  "luminance": 0.21946
}

Semantic roles & 50–950 ramp

primary
#507FDA
secondary
#DECCA8
accent
#AF40E8
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #507FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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