#5A58AF#5A58AF

#5A58AF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.135 H 281.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5A58AF
RGBrgb(90, 88, 175)
HSLhsl(241, 35%, 52%)
HSVhsv(241, 50%, 69%)
CMYKcmyk(48.6%, 49.7%, 0%, 31.4%)
CIE-LABlab(41.61, 24.52, -46.38)
CIE-LCHlch(41.61, 52.47, 297.87°)
OKLaboklab(50.63% 0.0268 -0.1319)
OKLCHoklch(50.63% 0.135 281.5)
XYZxyz(15.4417, 12.2475, 42.0995)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58AF #ADAF58
analogous
#5882AF #5A58AF #8658AF
triadic
#5A58AF #AF5A58 #58AF5A
tetradic
#5A58AF #AF5882 #ADAF58 #58AF86
square
#5A58AF #AF5882 #ADAF58 #58AF86
split-complementary
#5A58AF #AF8658 #82AF58
monochromatic
#2F2E5F #434188 #5A58AF #8381C3 #ACABD7

Accessibility & contrast

On white

6.09
#5A58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5A58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58AF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58AF#FFFFFF#000000##FFFFFF
##5A58AF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#3B6B7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a58af;
/* rgb */ color: rgb(90, 88, 175);
/* oklch */ color: oklch(50.6% 0.135 281.5);
Tailwind
colors: {
  custom: {
    50: '#8e87c7',
    500: '#5a58af',
    950: '#000000',
  },
}
SCSS
$custom: #5a58af;
$custom-light: #8e87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58af",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 241.379,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.13464,
    "h": 281.5
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#5A58AF
secondary
#C4C59E
accent
#CB5DC9
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5A58AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5A58AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva