#5F8BF8#5F8BF8

#5F8BF8 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.8% C 0.169 H 265.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5F8BF8
RGBrgb(95, 139, 248)
HSLhsl(223, 92%, 67%)
HSVhsv(223, 62%, 97%)
CMYKcmyk(61.7%, 44%, 0%, 2.7%)
CIE-LABlab(59.59, 17.94, -59.09)
CIE-LCHlch(59.59, 61.75, 286.89°)
OKLaboklab(65.79% -0.0133 -0.1686)
OKLCHoklch(65.79% 0.169 265.5)
XYZxyz(30.8894, 27.6727, 92.5023)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BF8 #F8CC5F
analogous
#5FD8F8 #5F8BF8 #805FF8
triadic
#5F8BF8 #F85F8B #8BF85F
tetradic
#5F8BF8 #F85FD8 #F8CC5F #5FF880
square
#5F8BF8 #F85FD8 #F8CC5F #5FF880
split-complementary
#5F8BF8 #F8805F #D8F85F
monochromatic
#0943D3 #2460F5 #5F8BF8 #9AB6FB #D4E0FD

Accessibility & contrast

On white

3.21
#5F8BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5F8BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BF8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BF8#FFFFFF#000000##000000
##5F8BF81.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#3F89F6
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8bf8;
/* rgb */ color: rgb(95, 139, 248);
/* oklch */ color: oklch(65.8% 0.169 265.5);
Tailwind
colors: {
  custom: {
    50: '#99acfb',
    500: '#5f8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bf8;
$custom-light: #99acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bf8",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 222.745,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65785,
    "c": 0.16918,
    "h": 265.5
  },
  "luminance": 0.27675
}

Semantic roles & 50–950 ramp

primary
#5F8BF8
secondary
#F2E4C1
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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