#507FE3#507FE3

#507FE3 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.160 H 263.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#507FE3
RGBrgb(80, 127, 227)
HSLhsl(221, 72%, 60%)
HSVhsv(221, 65%, 89%)
CMYKcmyk(64.8%, 44.1%, 0%, 11%)
CIE-LABlab(54.48, 15.54, -55.65)
CIE-LCHlch(54.48, 57.78, 285.60°)
OKLaboklab(61.28% -0.0182 -0.159)
OKLCHoklch(61.28% 0.16 263.5)
XYZxyz(24.7579, 22.4279, 75.6824)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FE3 #E3B450
analogous
#50C9E3 #507FE3 #6A50E3
triadic
#507FE3 #E3507F #7FE350
tetradic
#507FE3 #E350C9 #E3B450 #50E36A
square
#507FE3 #E350C9 #E3B450 #50E36A
split-complementary
#507FE3 #E36A50 #C9E350
monochromatic
#19449F #225BD4 #507FE3 #85A6EB #BACCF4

Accessibility & contrast

On white

3.83
#507FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#507FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FE3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FE3#FFFFFF#000000##000000
##507FE31.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8AE7
Deuteranopia (green-blind)
#367CE1
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507fe3;
/* rgb */ color: rgb(80, 127, 227);
/* oklch */ color: oklch(61.3% 0.160 263.5);
Tailwind
colors: {
  custom: {
    50: '#8fa3ec',
    500: '#507fe3',
    950: '#000000',
  },
}
SCSS
$custom: #507fe3;
$custom-light: #8fa3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#507fe3",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 220.816,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.16001,
    "h": 263.5
  },
  "luminance": 0.2243
}

Semantic roles & 50–950 ramp

primary
#507FE3
secondary
#E4D2AB
accent
#9611D4
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #507FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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