#585FE1#585FE1

#585FE1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.194 H 275.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#585FE1
RGBrgb(88, 95, 225)
HSLhsl(237, 70%, 61%)
HSVhsv(237, 61%, 88%)
CMYKcmyk(60.9%, 57.8%, 0%, 11.8%)
CIE-LABlab(46.57, 35.91, -67.25)
CIE-LCHlch(46.57, 76.24, 298.10°)
OKLaboklab(55.37% 0.0193 -0.1933)
OKLCHoklch(55.37% 0.194 275.7)
XYZxyz(21.7029, 15.6936, 73.1051)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FE1 #E1DA58
analogous
#58A4E1 #585FE1 #9658E1
triadic
#585FE1 #E1585F #5FE158
tetradic
#585FE1 #E158A4 #E1DA58 #58E196
square
#585FE1 #E158A4 #E1DA58 #58E196
split-complementary
#585FE1 #E19658 #A4E158
monochromatic
#1D24A2 #262FD5 #585FE1 #8C91EA #C0C2F4

Accessibility & contrast

On white

5.07
#585FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#585FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FE1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FE1#FFFFFF#000000##FFFFFF
##585FE11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #585fe1;
/* rgb */ color: rgb(88, 95, 225);
/* oklch */ color: oklch(55.4% 0.194 275.7);
Tailwind
colors: {
  custom: {
    50: '#948ceb',
    500: '#585fe1',
    950: '#000000',
  },
}
SCSS
$custom: #585fe1;
$custom-light: #948ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#585fe1",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 236.934,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.19427,
    "h": 275.7
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#585FE1
secondary
#E4E1B1
accent
#C814D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #585FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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