#585BF2#585BF2

#585BF2 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.221 H 275.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#585BF2
RGBrgb(88, 91, 242)
HSLhsl(239, 86%, 65%)
HSVhsv(239, 64%, 95%)
CMYKcmyk(63.6%, 62.4%, 0%, 5.1%)
CIE-LABlab(46.93, 43.85, -76.24)
CIE-LCHlch(46.93, 87.95, 299.90°)
OKLaboklab(56.04% 0.0221 -0.2198)
OKLCHoklch(56.04% 0.221 275.7)
XYZxyz(23.7874, 15.9657, 85.8153)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BF2 #F2EF58
analogous
#58A8F2 #585BF2 #A258F2
triadic
#585BF2 #F2585B #5BF258
tetradic
#585BF2 #F258A8 #F2EF58 #58F2A2
square
#585BF2 #F258A8 #F2EF58 #58F2A2
split-complementary
#585BF2 #F2A258 #A8F258
monochromatic
#0F12C1 #1F23EE #585BF2 #9193F6 #CACBFB

Accessibility & contrast

On white

5.01
#585BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#585BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BF2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BF2#FFFFFF#000000##FFFFFF
##585BF21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #585bf2;
/* rgb */ color: rgb(88, 91, 242);
/* oklch */ color: oklch(56.0% 0.221 275.7);
Tailwind
colors: {
  custom: {
    50: '#978af7',
    500: '#585bf2',
    950: '#000000',
  },
}
SCSS
$custom: #585bf2;
$custom-light: #978af7;
$custom-dark: #000000;
JSON
{
  "hex": "#585bf2",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 238.831,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.22087,
    "h": 275.7
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#585BF2
secondary
#EDECB8
accent
#DE03E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #585BF2

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

Preview Lab → · Contrast checker → · Palette generator →

#585BF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva