#507BDF#507BDF

#507BDF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.2% C 0.159 H 264.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#507BDF
RGBrgb(80, 123, 223)
HSLhsl(222, 69%, 59%)
HSVhsv(222, 64%, 87%)
CMYKcmyk(64.1%, 44.8%, 0%, 12.5%)
CIE-LABlab(53.16, 16.61, -55.51)
CIE-LCHlch(53.16, 57.94, 286.66°)
OKLaboklab(60.19% -0.015 -0.1586)
OKLCHoklch(60.19% 0.159 264.6)
XYZxyz(23.7059, 21.1969, 72.6399)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BDF #DFB450
analogous
#50C3DF #507BDF #6D50DF
triadic
#507BDF #DF507B #7BDF50
tetradic
#507BDF #DF50C3 #DFB450 #50DF6D
square
#507BDF #DF50C3 #DFB450 #50DF6D
split-complementary
#507BDF #DF6D50 #C3DF50
monochromatic
#1C4199 #2558CC #507BDF #84A2E8 #B7C9F2

Accessibility & contrast

On white

4.01
#507BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#507BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BDF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BDF#FFFFFF#000000##000000
##507BDF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#3279DD
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507bdf;
/* rgb */ color: rgb(80, 123, 223);
/* oklch */ color: oklch(60.2% 0.159 264.6);
Tailwind
colors: {
  custom: {
    50: '#8ea0e9',
    500: '#507bdf',
    950: '#000000',
  },
}
SCSS
$custom: #507bdf;
$custom-light: #8ea0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#507bdf",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 221.958,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.15932,
    "h": 264.6
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#507BDF
secondary
#E1D1AA
accent
#B73CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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