#585FE4#585FE4

#585FE4 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.198 H 275.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#585FE4
RGBrgb(88, 95, 228)
HSLhsl(237, 72%, 62%)
HSVhsv(237, 61%, 89%)
CMYKcmyk(61.4%, 58.3%, 0%, 10.6%)
CIE-LABlab(46.79, 36.89, -68.59)
CIE-LCHlch(46.79, 77.88, 298.27°)
OKLaboklab(55.6% 0.0193 -0.1973)
OKLCHoklch(55.6% 0.198 275.6)
XYZxyz(22.1157, 15.8588, 75.2794)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FE4 #E4DD58
analogous
#58A5E4 #585FE4 #9758E4
triadic
#585FE4 #E4585F #5FE458
tetradic
#585FE4 #E458A5 #E4DD58 #58E497
square
#585FE4 #E458A5 #E4DD58 #58E497
split-complementary
#585FE4 #E49758 #A5E458
monochromatic
#1B22A7 #232DDB #585FE4 #8D91ED #C1C4F5

Accessibility & contrast

On white

5.03
#585FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#585FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FE4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FE4#FFFFFF#000000##FFFFFF
##585FE41.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #585fe4;
/* rgb */ color: rgb(88, 95, 228);
/* oklch */ color: oklch(55.6% 0.198 275.6);
Tailwind
colors: {
  custom: {
    50: '#958ced',
    500: '#585fe4',
    950: '#000000',
  },
}
SCSS
$custom: #585fe4;
$custom-light: #958ced;
$custom-dark: #000000;
JSON
{
  "hex": "#585fe4",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 237,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.1982,
    "h": 275.6
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#585FE4
secondary
#E6E3B2
accent
#CA11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #585FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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