#507FEF#507FEF

#507FEF is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.1% C 0.176 H 264.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#507FEF
RGBrgb(80, 127, 239)
HSLhsl(222, 83%, 63%)
HSVhsv(222, 67%, 94%)
CMYKcmyk(66.5%, 46.9%, 0%, 6.3%)
CIE-LABlab(55.19, 19.68, -61.21)
CIE-LCHlch(55.19, 64.29, 287.82°)
OKLaboklab(62.05% -0.0164 -0.1753)
OKLCHoklch(62.05% 0.176 264.7)
XYZxyz(26.4722, 23.1136, 84.7109)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FEF #EFC050
analogous
#50CFEF #507FEF #7050EF
triadic
#507FEF #EF507F #7FEF50
tetradic
#507FEF #EF50CF #EFC050 #50EF70
square
#507FEF #EF50CF #EFC050 #50EF70
split-complementary
#507FEF #EF7050 #CFEF50
monochromatic
#1041B4 #1856EA #507FEF #88A8F4 #C0D1F9

Accessibility & contrast

On white

3.73
#507FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#507FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FEF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FEF#FFFFFF#000000##000000
##507FEF1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#217DED
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #507fef;
/* rgb */ color: rgb(80, 127, 239);
/* oklch */ color: oklch(62.1% 0.176 264.7);
Tailwind
colors: {
  custom: {
    50: '#91a3f5',
    500: '#507fef',
    950: '#000000',
  },
}
SCSS
$custom: #507fef;
$custom-light: #91a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#507fef",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 222.264,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62052,
    "c": 0.17607,
    "h": 264.7
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#507FEF
secondary
#EAD9B0
accent
#9F06E0
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #507FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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