#5866FA#5866FA

#5866FA is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.5% C 0.218 H 273.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5866FA
RGBrgb(88, 102, 250)
HSLhsl(235, 94%, 66%)
HSVhsv(235, 65%, 98%)
CMYKcmyk(64.8%, 59.2%, 0%, 2%)
CIE-LABlab(50.07, 39.90, -75.59)
CIE-LCHlch(50.07, 85.47, 297.83°)
OKLaboklab(58.54% 0.0131 -0.2177)
OKLCHoklch(58.54% 0.218 273.5)
XYZxyz(26.0255, 18.4773, 92.6189)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866FA #FAEC58
analogous
#58B7FA #5866FA #9B58FA
triadic
#5866FA #FA5866 #66FA58
tetradic
#5866FA #FA58B7 #FAEC58 #58FA9B
square
#5866FA #FA58B7 #FAEC58 #58FA9B
split-complementary
#5866FA #FA9B58 #B7FA58
monochromatic
#0618D1 #1D30F8 #5866FA #939CFC #CFD3FE

Accessibility & contrast

On white

4.47
#5866FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5866FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5866FA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866FA#FFFFFF#000000##000000
##5866FA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#008BA6
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5866fa;
/* rgb */ color: rgb(88, 102, 250);
/* oklch */ color: oklch(58.5% 0.218 273.5);
Tailwind
colors: {
  custom: {
    50: '#9891fd',
    500: '#5866fa',
    950: '#000000',
  },
}
SCSS
$custom: #5866fa;
$custom-light: #9891fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5866fa",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 234.815,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.21815,
    "h": 273.5
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#5866FA
secondary
#F1EDBC
accent
#D200E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D18
muted
#7F7D86

Preview Lab

Preview with #5866FA

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

Preview Lab → · Contrast checker → · Palette generator →

#5866FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva