#5F8BFB#5F8BFB

#5F8BFB is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.0% C 0.173 H 265.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5F8BFB
RGBrgb(95, 139, 251)
HSLhsl(223, 95%, 68%)
HSVhsv(223, 62%, 98%)
CMYKcmyk(62.2%, 44.6%, 0%, 1.6%)
CIE-LABlab(59.76, 18.93, -60.47)
CIE-LCHlch(59.76, 63.36, 287.39°)
OKLaboklab(65.97% -0.0129 -0.1727)
OKLCHoklch(65.97% 0.173 265.7)
XYZxyz(31.3585, 27.8604, 94.9731)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BFB #FBCF5F
analogous
#5FD9FB #5F8BFB #815FFB
triadic
#5F8BFB #FB5F8B #8BFB5F
tetradic
#5F8BFB #FB5FD9 #FBCF5F #5FFB81
square
#5F8BFB #FB5FD9 #FBCF5F #5FFB81
split-complementary
#5F8BFB #FB815F #D9FB5F
monochromatic
#0541DA #2360FA #5F8BFB #9BB6FC #D6E2FE

Accessibility & contrast

On white

3.20
#5F8BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5F8BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BFB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BFB#FFFFFF#000000##000000
##5F8BFB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#3B89F9
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8bfb;
/* rgb */ color: rgb(95, 139, 251);
/* oklch */ color: oklch(66.0% 0.173 265.7);
Tailwind
colors: {
  custom: {
    50: '#9aacfd',
    500: '#5f8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bfb;
$custom-light: #9aacfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bfb",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 223.077,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.17318,
    "h": 265.7
  },
  "luminance": 0.27863
}

Semantic roles & 50–950 ramp

primary
#5F8BFB
secondary
#F3E5C3
accent
#A500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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