#5F88F7#5F88F7

#5F88F7 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.1% C 0.171 H 266.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5F88F7
RGBrgb(95, 136, 247)
HSLhsl(224, 90%, 67%)
HSVhsv(224, 62%, 97%)
CMYKcmyk(61.5%, 44.9%, 0%, 3.1%)
CIE-LABlab(58.75, 19.41, -59.89)
CIE-LCHlch(58.75, 62.96, 287.95°)
OKLaboklab(65.12% -0.0106 -0.171)
OKLCHoklch(65.12% 0.171 266.5)
XYZxyz(30.3062, 26.7539, 91.5446)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F88F7 #F7CE5F
analogous
#5FD4F7 #5F88F7 #825FF7
triadic
#5F88F7 #F75F88 #88F75F
tetradic
#5F88F7 #F75FD4 #F7CE5F #5FF782
square
#5F88F7 #F75FD4 #F7CE5F #5FF782
split-complementary
#5F88F7 #F7825F #D4F75F
monochromatic
#0A40D1 #255DF4 #5F88F7 #99B3FA #D4DFFD

Accessibility & contrast

On white

3.31
#5F88F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5F88F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F88F7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F88F7#FFFFFF#000000##000000
##5F88F71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#3A87F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f88f7;
/* rgb */ color: rgb(95, 136, 247);
/* oklch */ color: oklch(65.1% 0.171 266.5);
Tailwind
colors: {
  custom: {
    50: '#99aafa',
    500: '#5f88f7',
    950: '#000000',
  },
}
SCSS
$custom: #5f88f7;
$custom-light: #99aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f88f7",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 223.816,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65118,
    "c": 0.17137,
    "h": 266.5
  },
  "luminance": 0.26757
}

Semantic roles & 50–950 ramp

primary
#5F88F7
secondary
#F1E4C1
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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