#585FBA#585FBA

#585FBA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.141 H 277.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#585FBA
RGBrgb(88, 95, 186)
HSLhsl(236, 42%, 54%)
HSVhsv(236, 53%, 73%)
CMYKcmyk(52.7%, 48.9%, 0%, 27.1%)
CIE-LABlab(43.95, 23.18, -49.08)
CIE-LCHlch(43.95, 54.28, 295.28°)
OKLaboklab(52.58% 0.0174 -0.1399)
OKLCHoklch(52.58% 0.141 277.1)
XYZxyz(16.9768, 13.8032, 48.2146)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FBA #BAB358
analogous
#5890BA #585FBA #8258BA
triadic
#585FBA #BA585F #5FBA58
tetradic
#585FBA #BA5890 #BAB358 #58BA82
square
#585FBA #BA5890 #BAB358 #58BA82
split-complementary
#585FBA #BA8258 #90BA58
monochromatic
#2C316B #3E4597 #585FBA #8388CC #AFB2DE

Accessibility & contrast

On white

5.58
#585FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#585FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FBA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FBA#FFFFFF#000000##FFFFFF
##585FBA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#2D7383
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #585fba;
/* rgb */ color: rgb(88, 95, 186);
/* oklch */ color: oklch(52.6% 0.141 277.1);
Tailwind
colors: {
  custom: {
    50: '#8e8ccf',
    500: '#585fba',
    950: '#000000',
  },
}
SCSS
$custom: #585fba;
$custom-light: #8e8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#585fba",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 235.714,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.14094,
    "h": 277.1
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#585FBA
secondary
#CCC9A2
accent
#C956D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #585FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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