#5F8EF8#5F8EF8

#5F8EF8 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.4% C 0.166 H 264.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5F8EF8
RGBrgb(95, 142, 248)
HSLhsl(222, 92%, 67%)
HSVhsv(222, 62%, 97%)
CMYKcmyk(61.7%, 42.7%, 0%, 2.7%)
CIE-LABlab(60.39, 16.14, -57.82)
CIE-LCHlch(60.39, 60.03, 285.60°)
OKLaboklab(66.4% -0.0163 -0.1649)
OKLCHoklch(66.4% 0.166 264.4)
XYZxyz(31.3297, 28.5534, 92.6491)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EF8 #F8C95F
analogous
#5FDAF8 #5F8EF8 #7D5FF8
triadic
#5F8EF8 #F85F8E #8EF85F
tetradic
#5F8EF8 #F85FDA #F8C95F #5FF87D
square
#5F8EF8 #F85FDA #F8C95F #5FF87D
split-complementary
#5F8EF8 #F87D5F #DAF85F
monochromatic
#0947D3 #2465F5 #5F8EF8 #9AB7FB #D4E1FD

Accessibility & contrast

On white

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

On black

6.71
#5F8EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EF8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EF8#FFFFFF#000000##000000
##5F8EF81.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f8ef8;
/* rgb */ color: rgb(95, 142, 248);
/* oklch */ color: oklch(66.4% 0.166 264.4);
Tailwind
colors: {
  custom: {
    50: '#99aefb',
    500: '#5f8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ef8;
$custom-light: #99aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ef8",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 221.569,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66395,
    "c": 0.16569,
    "h": 264.4
  },
  "luminance": 0.28556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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