#507BF2#507BF2

#507BF2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.185 H 266.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#507BF2
RGBrgb(80, 123, 242)
HSLhsl(224, 86%, 63%)
HSVhsv(224, 67%, 95%)
CMYKcmyk(66.9%, 49.2%, 0%, 5.1%)
CIE-LABlab(54.32, 23.17, -64.27)
CIE-LCHlch(54.32, 68.32, 289.82°)
OKLaboklab(61.45% -0.0124 -0.1844)
OKLCHoklch(61.45% 0.185 266.1)
XYZxyz(26.4127, 22.2796, 86.8956)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BF2 #F2C750
analogous
#50CCF2 #507BF2 #7650F2
triadic
#507BF2 #F2507B #7BF250
tetradic
#507BF2 #F250CC #F2C750 #50F276
square
#507BF2 #F250CC #F2C750 #50F276
split-complementary
#507BF2 #F27650 #CCF250
monochromatic
#0E3BBA #1750EE #507BF2 #89A6F6 #C2D1FA

Accessibility & contrast

On white

3.85
#507BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#507BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BF2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BF2#FFFFFF#000000##000000
##507BF21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507bf2;
/* rgb */ color: rgb(80, 123, 242);
/* oklch */ color: oklch(61.5% 0.185 266.1);
Tailwind
colors: {
  custom: {
    50: '#92a0f7',
    500: '#507bf2',
    950: '#000000',
  },
}
SCSS
$custom: #507bf2;
$custom-light: #92a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#507bf2",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 224.074,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6145,
    "c": 0.1848,
    "h": 266.1
  },
  "luminance": 0.22282
}

Semantic roles & 50–950 ramp

primary
#507BF2
secondary
#ECDDB2
accent
#A703E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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