#507FDB#507FDB

#507FDB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.149 H 262.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#507FDB
RGBrgb(80, 127, 219)
HSLhsl(220, 66%, 59%)
HSVhsv(220, 63%, 86%)
CMYKcmyk(63.5%, 42%, 0%, 14.1%)
CIE-LABlab(54.02, 12.79, -51.89)
CIE-LCHlch(54.02, 53.44, 283.85°)
OKLaboklab(60.78% -0.0196 -0.1479)
OKLCHoklch(60.78% 0.149 262.4)
XYZxyz(23.6793, 21.9965, 70.0020)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FDB #DBAC50
analogous
#50C5DB #507FDB #6650DB
triadic
#507FDB #DB507F #7FDB50
tetradic
#507FDB #DB50C5 #DBAC50 #50DB66
square
#507FDB #DB50C5 #DBAC50 #50DB66
split-complementary
#507FDB #DB6650 #C5DB50
monochromatic
#1E4592 #295EC5 #507FDB #83A4E5 #B6C9F0

Accessibility & contrast

On white

3.89
#507FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#507FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FDB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FDB#FFFFFF#000000##000000
##507FDB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507fdb;
/* rgb */ color: rgb(80, 127, 219);
/* oklch */ color: oklch(60.8% 0.149 262.4);
Tailwind
colors: {
  custom: {
    50: '#8ea3e7',
    500: '#507fdb',
    950: '#000000',
  },
}
SCSS
$custom: #507fdb;
$custom-light: #8ea3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#507fdb",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 219.712,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.14922,
    "h": 262.4
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#507FDB
secondary
#DFCCA8
accent
#AF3FE9
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #507FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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