#5A648F#5A648F

#5A648F is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.3% C 0.069 H 273.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5A648F
RGBrgb(90, 100, 143)
HSLhsl(229, 23%, 46%)
HSVhsv(229, 37%, 56%)
CMYKcmyk(37.1%, 30.1%, 0%, 43.9%)
CIE-LABlab(43.17, 7.32, -24.89)
CIE-LCHlch(43.17, 25.95, 286.38°)
OKLaboklab(51.27% 0.0045 -0.0693)
OKLCHoklch(51.27% 0.069 273.7)
XYZxyz(13.7301, 13.2706, 27.8193)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A648F #8F855A
analogous
#5A7E8F #5A648F #6A5A8F
triadic
#5A648F #8F5A64 #648F5A
tetradic
#5A648F #8F5A7E #8F855A #5A8F6A
square
#5A648F #8F5A7E #8F855A #5A8F6A
split-complementary
#5A648F #8F6A5A #7E8F5A
monochromatic
#2B2F44 #424A69 #5A648F #7B84AC #A0A7C3

Accessibility & contrast

On white

5.75
#5A648F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5A648F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A648F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A648F#FFFFFF#000000##FFFFFF
##5A648F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566891
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#4B6C73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a648f;
/* rgb */ color: rgb(90, 100, 143);
/* oklch */ color: oklch(51.3% 0.069 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a90b0',
    500: '#5a648f',
    950: '#000000',
  },
}
SCSS
$custom: #5a648f;
$custom-light: #8a90b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a648f",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 143
  },
  "hsl": {
    "h": 228.679,
    "s": 22.747,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5127,
    "c": 0.06945,
    "h": 273.7
  },
  "luminance": 0.13271
}

Semantic roles & 50–950 ramp

primary
#5A648F
secondary
#B1AC94
accent
#AF69BF
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5A648F

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

Preview Lab → · Contrast checker → · Palette generator →

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