#5F88EB#5F88EB

#5F88EB is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.4% C 0.155 H 265.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5F88EB
RGBrgb(95, 136, 235)
HSLhsl(222, 78%, 65%)
HSVhsv(222, 60%, 92%)
CMYKcmyk(59.6%, 42.1%, 0%, 7.8%)
CIE-LABlab(58.07, 15.44, -54.33)
CIE-LCHlch(58.07, 56.48, 285.86°)
OKLaboklab(64.38% -0.0126 -0.1547)
OKLCHoklch(64.38% 0.155 265.4)
XYZxyz(28.5137, 26.0370, 82.1042)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F88EB #EBC25F
analogous
#5FCEEB #5F88EB #7C5FEB
triadic
#5F88EB #EB5F88 #88EB5F
tetradic
#5F88EB #EB5FCE #EBC25F #5FEB7C
square
#5F88EB #EB5FCE #EBC25F #5FEB7C
split-complementary
#5F88EB #EB7C5F #CEEB5F
monochromatic
#1746B9 #2960E4 #5F88EB #95B0F2 #CCD9F9

Accessibility & contrast

On white

3.38
#5F88EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5F88EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F88EB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F88EB#FFFFFF#000000##000000
##5F88EB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EF
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f88eb;
/* rgb */ color: rgb(95, 136, 235);
/* oklch */ color: oklch(64.4% 0.155 265.4);
Tailwind
colors: {
  custom: {
    50: '#97aaf2',
    500: '#5f88eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f88eb;
$custom-light: #97aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f88eb",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 222.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.15522,
    "h": 265.4
  },
  "luminance": 0.26039
}

Semantic roles & 50–950 ramp

primary
#5F88EB
secondary
#EBDDBB
accent
#9E0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F88EB

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

Preview Lab → · Contrast checker → · Palette generator →

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