#5886F2#5886F2

#5886F2 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.0% C 0.169 H 264.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5886F2
RGBrgb(88, 134, 242)
HSLhsl(222, 86%, 65%)
HSVhsv(222, 64%, 95%)
CMYKcmyk(63.6%, 44.6%, 0%, 5.1%)
CIE-LABlab(57.59, 17.74, -59.00)
CIE-LCHlch(57.59, 61.61, 286.73°)
OKLaboklab(64.05% -0.0156 -0.1686)
OKLCHoklch(64.05% 0.169 264.7)
XYZxyz(28.5710, 25.5331, 87.4099)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5886F2 #F2C458
analogous
#58D3F2 #5886F2 #7758F2
triadic
#5886F2 #F25886 #86F258
tetradic
#5886F2 #F258D3 #F2C458 #58F277
square
#5886F2 #F258D3 #F2C458 #58F277
split-complementary
#5886F2 #F27758 #D3F258
monochromatic
#0F44C1 #1F5DEE #5886F2 #91AFF6 #CAD8FB

Accessibility & contrast

On white

3.44
#5886F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5886F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5886F2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5886F2#FFFFFF#000000##000000
##5886F21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#3784F0
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5886f2;
/* rgb */ color: rgb(88, 134, 242);
/* oklch */ color: oklch(64.0% 0.169 264.7);
Tailwind
colors: {
  custom: {
    50: '#95a8f7',
    500: '#5886f2',
    950: '#000000',
  },
}
SCSS
$custom: #5886f2;
$custom-light: #95a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5886f2",
  "rgb": {
    "r": 88,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 222.078,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64049,
    "c": 0.16929,
    "h": 264.7
  },
  "luminance": 0.25536
}

Semantic roles & 50–950 ramp

primary
#5886F2
secondary
#EDDEB8
accent
#A003E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5886F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5886F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva