#5F8FF5#5F8FF5

#5F8FF5 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.4% C 0.161 H 263.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5F8FF5
RGBrgb(95, 143, 245)
HSLhsl(221, 88%, 67%)
HSVhsv(221, 61%, 96%)
CMYKcmyk(61.2%, 41.6%, 0%, 3.9%)
CIE-LABlab(60.49, 14.55, -56.01)
CIE-LCHlch(60.49, 57.87, 284.57°)
OKLaboklab(66.42% -0.0178 -0.1595)
OKLCHoklch(66.42% 0.161 263.6)
XYZxyz(31.0175, 28.6676, 90.2673)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8FF5 #F5C55F
analogous
#5FDAF5 #5F8FF5 #7A5FF5
triadic
#5F8FF5 #F55F8F #8FF55F
tetradic
#5F8FF5 #F55FDA #F5C55F #5FF57A
square
#5F8FF5 #F55FDA #F5C55F #5FF57A
split-complementary
#5F8FF5 #F57A5F #DAF55F
monochromatic
#0D4ACD #2567F1 #5F8FF5 #99B7F9 #D2E0FC

Accessibility & contrast

On white

3.12
#5F8FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5F8FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8FF5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8FF5#FFFFFF#000000##000000
##5F8FF51.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#4B8BF3
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f8ff5;
/* rgb */ color: rgb(95, 143, 245);
/* oklch */ color: oklch(66.4% 0.161 263.6);
Tailwind
colors: {
  custom: {
    50: '#99aff9',
    500: '#5f8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ff5;
$custom-light: #99aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ff5",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 220.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.16054,
    "h": 263.6
  },
  "luminance": 0.2867
}

Semantic roles & 50–950 ramp

primary
#5F8FF5
secondary
#F0E1C0
accent
#9C01E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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