#5F7EF7#5F7EF7

#5F7EF7 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.1% C 0.183 H 269.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5F7EF7
RGBrgb(95, 126, 247)
HSLhsl(228, 90%, 67%)
HSVhsv(228, 62%, 97%)
CMYKcmyk(61.5%, 49%, 0%, 3.1%)
CIE-LABlab(56.16, 25.45, -64.05)
CIE-LCHlch(56.16, 68.92, 291.67°)
OKLaboklab(63.14% -0.001 -0.1834)
OKLCHoklch(63.14% 0.183 269.7)
XYZxyz(28.9630, 24.0675, 91.0968)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EF7 #F7D85F
analogous
#5FCAF7 #5F7EF7 #8C5FF7
triadic
#5F7EF7 #F75F7E #7EF75F
tetradic
#5F7EF7 #F75FCA #F7D85F #5FF78C
square
#5F7EF7 #F75FCA #F7D85F #5FF78C
split-complementary
#5F7EF7 #F78C5F #CAF75F
monochromatic
#0A33D1 #254FF4 #5F7EF7 #99ADFA #D4DCFD

Accessibility & contrast

On white

3.61
#5F7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5F7EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EF7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EF7#FFFFFF#000000##000000
##5F7EF71.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFB
Deuteranopia (green-blind)
#1980F4
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f7ef7;
/* rgb */ color: rgb(95, 126, 247);
/* oklch */ color: oklch(63.1% 0.183 269.7);
Tailwind
colors: {
  custom: {
    50: '#99a3fa',
    500: '#5f7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ef7;
$custom-light: #99a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ef7",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 227.763,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63144,
    "c": 0.1834,
    "h": 269.7
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#5F7EF7
secondary
#F1E7C1
accent
#B700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5F7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

#5F7EF7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva