#5F88EC#5F88EC

#5F88EC is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.4% C 0.157 H 265.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5F88EC
RGBrgb(95, 136, 236)
HSLhsl(223, 79%, 65%)
HSVhsv(223, 60%, 93%)
CMYKcmyk(59.7%, 42.4%, 0%, 7.5%)
CIE-LABlab(58.13, 15.77, -54.80)
CIE-LCHlch(58.13, 57.02, 286.05°)
OKLaboklab(64.44% -0.0124 -0.1561)
OKLCHoklch(64.44% 0.157 265.5)
XYZxyz(28.6586, 26.0949, 82.8672)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F88EC #ECC35F
analogous
#5FCFEC #5F88EC #7C5FEC
triadic
#5F88EC #EC5F88 #88EC5F
tetradic
#5F88EC #EC5FCF #ECC35F #5FEC7C
square
#5F88EC #EC5FCF #ECC35F #5FEC7C
split-complementary
#5F88EC #EC7C5F #CFEC5F
monochromatic
#1646BA #285FE6 #5F88EC #96B1F2 #CCD9F9

Accessibility & contrast

On white

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

On black

6.22
#5F88EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F88EC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F88EC#FFFFFF#000000##000000
##5F88EC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f88ec;
/* rgb */ color: rgb(95, 136, 236);
/* oklch */ color: oklch(64.4% 0.157 265.5);
Tailwind
colors: {
  custom: {
    50: '#97aaf3',
    500: '#5f88ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f88ec;
$custom-light: #97aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f88ec",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 222.553,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64443,
    "c": 0.15657,
    "h": 265.5
  },
  "luminance": 0.26097
}

Semantic roles & 50–950 ramp

primary
#5F88EC
secondary
#EBDDBB
accent
#9E0ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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