#5F8DF8#5F8DF8

#5F8DF8 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.2% C 0.167 H 264.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5F8DF8
RGBrgb(95, 141, 248)
HSLhsl(222, 92%, 67%)
HSVhsv(222, 62%, 97%)
CMYKcmyk(61.7%, 43.1%, 0%, 2.7%)
CIE-LABlab(60.12, 16.74, -58.25)
CIE-LCHlch(60.12, 60.60, 286.03°)
OKLaboklab(66.19% -0.0153 -0.1661)
OKLCHoklch(66.19% 0.167 264.7)
XYZxyz(31.1816, 28.2572, 92.5997)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DF8 #F8CA5F
analogous
#5FD9F8 #5F8DF8 #7E5FF8
triadic
#5F8DF8 #F85F8D #8DF85F
tetradic
#5F8DF8 #F85FD9 #F8CA5F #5FF87E
square
#5F8DF8 #F85FD9 #F8CA5F #5FF87E
split-complementary
#5F8DF8 #F87E5F #D9F85F
monochromatic
#0946D3 #2463F5 #5F8DF8 #9AB7FB #D4E1FD

Accessibility & contrast

On white

3.16
#5F8DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5F8DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DF8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DF8#FFFFFF#000000##000000
##5F8DF81.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#448AF6
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f8df8;
/* rgb */ color: rgb(95, 141, 248);
/* oklch */ color: oklch(66.2% 0.167 264.7);
Tailwind
colors: {
  custom: {
    50: '#99adfb',
    500: '#5f8df8',
    950: '#000000',
  },
}
SCSS
$custom: #5f8df8;
$custom-light: #99adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8df8",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 221.961,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66191,
    "c": 0.16684,
    "h": 264.7
  },
  "luminance": 0.2826
}

Semantic roles & 50–950 ramp

primary
#5F8DF8
secondary
#F2E3C1
accent
#A100E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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