#585BF7#585BF7

#585BF7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.227 H 275.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#585BF7
RGBrgb(88, 91, 247)
HSLhsl(239, 91%, 66%)
HSVhsv(239, 64%, 97%)
CMYKcmyk(64.4%, 63.2%, 0%, 3.1%)
CIE-LABlab(47.33, 45.46, -78.39)
CIE-LCHlch(47.33, 90.62, 300.11°)
OKLaboklab(56.45% 0.0217 -0.2261)
OKLCHoklch(56.45% 0.227 275.5)
XYZxyz(24.5486, 16.2702, 89.8244)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BF7 #F7F458
analogous
#58AAF7 #585BF7 #A458F7
triadic
#585BF7 #F7585B #5BF758
tetradic
#585BF7 #F758AA #F7F458 #58F7A4
square
#585BF7 #F758AA #F7F458 #58F7A4
split-complementary
#585BF7 #F7A458 #AAF758
monochromatic
#0A0DCB #1E22F4 #585BF7 #9294FA #CDCEFD

Accessibility & contrast

On white

4.94
#585BF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#585BF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BF7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BF7#FFFFFF#000000##FFFFFF
##585BF71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#0069F4
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #585bf7;
/* rgb */ color: rgb(88, 91, 247);
/* oklch */ color: oklch(56.5% 0.227 275.5);
Tailwind
colors: {
  custom: {
    50: '#988afb',
    500: '#585bf7',
    950: '#000000',
  },
}
SCSS
$custom: #585bf7;
$custom-light: #988afb;
$custom-dark: #000000;
JSON
{
  "hex": "#585bf7",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 247
  },
  "hsl": {
    "h": 238.868,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.2271,
    "h": 275.5
  },
  "luminance": 0.16272
}

Semantic roles & 50–950 ramp

primary
#585BF7
secondary
#F0EFBB
accent
#E100E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #585BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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