#5F8EF7#5F8EF7

#5F8EF7 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.3% C 0.164 H 264.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5F8EF7
RGBrgb(95, 142, 247)
HSLhsl(221, 90%, 67%)
HSVhsv(221, 62%, 97%)
CMYKcmyk(61.5%, 42.5%, 0%, 3.1%)
CIE-LABlab(60.33, 15.81, -57.36)
CIE-LCHlch(60.33, 59.50, 285.41°)
OKLaboklab(66.33% -0.0165 -0.1635)
OKLCHoklch(66.33% 0.164 264.3)
XYZxyz(31.1750, 28.4915, 91.8342)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EF7 #F7C85F
analogous
#5FDAF7 #5F8EF7 #7C5FF7
triadic
#5F8EF7 #F75F8E #8EF75F
tetradic
#5F8EF7 #F75FDA #F7C85F #5FF77C
square
#5F8EF7 #F75FDA #F7C85F #5FF77C
split-complementary
#5F8EF7 #F77C5F #DAF75F
monochromatic
#0A48D1 #2565F4 #5F8EF7 #99B7FA #D4E0FD

Accessibility & contrast

On white

3.13
#5F8EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5F8EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EF7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EF7#FFFFFF#000000##000000
##5F8EF71.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f8ef7;
/* rgb */ color: rgb(95, 142, 247);
/* oklch */ color: oklch(66.3% 0.164 264.3);
Tailwind
colors: {
  custom: {
    50: '#99aefa',
    500: '#5f8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ef7;
$custom-light: #99aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ef7",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 221.447,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66335,
    "c": 0.16436,
    "h": 264.3
  },
  "luminance": 0.28494
}

Semantic roles & 50–950 ramp

primary
#5F8EF7
secondary
#F1E2C1
accent
#9F00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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