#585EF1#585EF1

#585EF1 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.5% C 0.216 H 275.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#585EF1
RGBrgb(88, 94, 241)
HSLhsl(238, 85%, 65%)
HSVhsv(238, 63%, 95%)
CMYKcmyk(63.5%, 61%, 0%, 5.5%)
CIE-LABlab(47.53, 41.74, -74.70)
CIE-LCHlch(47.53, 85.57, 299.20°)
OKLaboklab(56.46% 0.0198 -0.2152)
OKLCHoklch(56.46% 0.216 275.2)
XYZxyz(23.8992, 16.4290, 85.1137)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EF1 #F1EB58
analogous
#58ABF1 #585EF1 #9F58F1
triadic
#585EF1 #F1585E #5EF158
tetradic
#585EF1 #F158AB #F1EB58 #58F19F
square
#585EF1 #F158AB #F1EB58 #58F19F
split-complementary
#585EF1 #F19F58 #ABF158
monochromatic
#1017BF #2028EC #585EF1 #9094F6 #C9CBFA

Accessibility & contrast

On white

4.90
#585EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#585EF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EF1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EF1#FFFFFF#000000##FFFFFF
##585EF11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #585ef1;
/* rgb */ color: rgb(88, 94, 241);
/* oklch */ color: oklch(56.5% 0.216 275.2);
Tailwind
colors: {
  custom: {
    50: '#978cf7',
    500: '#585ef1',
    950: '#000000',
  },
}
SCSS
$custom: #585ef1;
$custom-light: #978cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#585ef1",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 237.647,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.21612,
    "h": 275.2
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#585EF1
secondary
#EDEBB8
accent
#D805E1
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #585EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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