#5885F2#5885F2

#5885F2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.8% C 0.170 H 265.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5885F2
RGBrgb(88, 133, 242)
HSLhsl(222, 86%, 65%)
HSVhsv(222, 64%, 95%)
CMYKcmyk(63.6%, 45%, 0%, 5.1%)
CIE-LABlab(57.33, 18.34, -59.42)
CIE-LCHlch(57.33, 62.19, 287.15°)
OKLaboklab(63.85% -0.0146 -0.1698)
OKLCHoklch(63.85% 0.17 265.1)
XYZxyz(28.4335, 25.2579, 87.3640)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5885F2 #F2C558
analogous
#58D2F2 #5885F2 #7858F2
triadic
#5885F2 #F25885 #85F258
tetradic
#5885F2 #F258D2 #F2C558 #58F278
square
#5885F2 #F258D2 #F2C558 #58F278
split-complementary
#5885F2 #F27858 #D2F258
monochromatic
#0F43C1 #1F5CEE #5885F2 #91AEF6 #CAD8FB

Accessibility & contrast

On white

3.47
#5885F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5885F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5885F2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5885F2#FFFFFF#000000##000000
##5885F21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#3583F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5885f2;
/* rgb */ color: rgb(88, 133, 242);
/* oklch */ color: oklch(63.8% 0.170 265.1);
Tailwind
colors: {
  custom: {
    50: '#95a8f7',
    500: '#5885f2',
    950: '#000000',
  },
}
SCSS
$custom: #5885f2;
$custom-light: #95a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5885f2",
  "rgb": {
    "r": 88,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 222.468,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63845,
    "c": 0.17046,
    "h": 265.1
  },
  "luminance": 0.25261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5885F2

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

Preview Lab → · Contrast checker → · Palette generator →

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