#585FCB#585FCB

#585FCB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.165 H 276.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#585FCB
RGBrgb(88, 95, 203)
HSLhsl(236, 53%, 57%)
HSVhsv(236, 57%, 80%)
CMYKcmyk(56.7%, 53.2%, 0%, 20.4%)
CIE-LABlab(45.04, 28.70, -57.17)
CIE-LCHlch(45.04, 63.97, 296.66°)
OKLaboklab(53.75% 0.0188 -0.1637)
OKLCHoklch(53.75% 0.165 276.5)
XYZxyz(18.8927, 14.5696, 58.3050)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FCB #CBC458
analogous
#5899CB #585FCB #8B58CB
triadic
#585FCB #CB585F #5FCB58
tetradic
#585FCB #CB5899 #CBC458 #58CB8B
square
#585FCB #CB5899 #CBC458 #58CB8B
split-complementary
#585FCB #CB8B58 #99CB58
monochromatic
#282D81 #373EAF #585FCB #878CDA #B5B8E8

Accessibility & contrast

On white

5.37
#585FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#585FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FCB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FCB#FFFFFF#000000##FFFFFF
##585FCB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#14788C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #585fcb;
/* rgb */ color: rgb(88, 95, 203);
/* oklch */ color: oklch(53.7% 0.165 276.5);
Tailwind
colors: {
  custom: {
    50: '#918cdb',
    500: '#585fcb',
    950: '#000000',
  },
}
SCSS
$custom: #585fcb;
$custom-light: #918cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#585fcb",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 236.348,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.16473,
    "h": 276.5
  },
  "luminance": 0.14571
}

Semantic roles & 50–950 ramp

primary
#585FCB
secondary
#D7D4A8
accent
#D34CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #585FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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