#5F8CF8#5F8CF8

#5F8CF8 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.0% C 0.168 H 265.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5F8CF8
RGBrgb(95, 140, 248)
HSLhsl(222, 92%, 67%)
HSVhsv(222, 62%, 97%)
CMYKcmyk(61.7%, 43.5%, 0%, 2.7%)
CIE-LABlab(59.86, 17.34, -58.67)
CIE-LCHlch(59.86, 61.18, 286.46°)
OKLaboklab(65.99% -0.0143 -0.1674)
OKLCHoklch(65.99% 0.168 265.1)
XYZxyz(31.0348, 27.9636, 92.5508)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8CF8 #F8CB5F
analogous
#5FD9F8 #5F8CF8 #7F5FF8
triadic
#5F8CF8 #F85F8C #8CF85F
tetradic
#5F8CF8 #F85FD9 #F8CB5F #5FF87F
square
#5F8CF8 #F85FD9 #F8CB5F #5FF87F
split-complementary
#5F8CF8 #F87F5F #D9F85F
monochromatic
#0945D3 #2462F5 #5F8CF8 #9AB6FB #D4E0FD

Accessibility & contrast

On white

3.19
#5F8CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#5F8CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8CF8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8CF8#FFFFFF#000000##000000
##5F8CF81.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#428AF6
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8cf8;
/* rgb */ color: rgb(95, 140, 248);
/* oklch */ color: oklch(66.0% 0.168 265.1);
Tailwind
colors: {
  custom: {
    50: '#99adfb',
    500: '#5f8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #5f8cf8;
$custom-light: #99adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8cf8",
  "rgb": {
    "r": 95,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 222.353,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65988,
    "c": 0.16801,
    "h": 265.1
  },
  "luminance": 0.27966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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