#5F88EF#5F88EF

#5F88EF is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.6% C 0.161 H 265.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5F88EF
RGBrgb(95, 136, 239)
HSLhsl(223, 82%, 65%)
HSVhsv(223, 60%, 94%)
CMYKcmyk(60.3%, 43.1%, 0%, 6.3%)
CIE-LABlab(58.29, 16.76, -56.19)
CIE-LCHlch(58.29, 58.64, 286.60°)
OKLaboklab(64.63% -0.0119 -0.1602)
OKLCHoklch(64.63% 0.161 265.8)
XYZxyz(29.0981, 26.2707, 85.1820)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F88EF #EFC65F
analogous
#5FD0EF #5F88EF #7E5FEF
triadic
#5F88EF #EF5F88 #88EF5F
tetradic
#5F88EF #EF5FD0 #EFC65F #5FEF7E
square
#5F88EF #EF5FD0 #EFC65F #5FEF7E
split-complementary
#5F88EF #EF7E5F #D0EF5F
monochromatic
#1345C0 #275FE9 #5F88EF #97B1F5 #CEDBFA

Accessibility & contrast

On white

3.36
#5F88EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5F88EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F88EF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F88EF#FFFFFF#000000##000000
##5F88EF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#4486ED
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f88ef;
/* rgb */ color: rgb(95, 136, 239);
/* oklch */ color: oklch(64.6% 0.161 265.8);
Tailwind
colors: {
  custom: {
    50: '#98aaf5',
    500: '#5f88ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f88ef;
$custom-light: #98aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f88ef",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 222.917,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.16062,
    "h": 265.8
  },
  "luminance": 0.26273
}

Semantic roles & 50–950 ramp

primary
#5F88EF
secondary
#EDDFBD
accent
#A107DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F88EF

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

Preview Lab → · Contrast checker → · Palette generator →

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