#5A679C#5A679C

#5A679C is a mid, moderate blue. Relative luminance 0.143; OKLCH L 52.6% C 0.085 H 272.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5A679C
RGBrgb(90, 103, 156)
HSLhsl(228, 27%, 48%)
HSVhsv(228, 42%, 61%)
CMYKcmyk(42.3%, 34%, 0%, 38.8%)
CIE-LABlab(44.62, 9.29, -30.37)
CIE-LCHlch(44.62, 31.76, 287.01°)
OKLaboklab(52.6% 0.004 -0.0851)
OKLCHoklch(52.6% 0.085 272.7)
XYZxyz(15.0656, 14.2737, 33.4073)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A679C #9C8F5A
analogous
#5A889C #5A679C #6E5A9C
triadic
#5A679C #9C5A67 #679C5A
tetradic
#5A679C #9C5A88 #9C8F5A #5A9C6E
square
#5A679C #9C5A88 #9C8F5A #5A9C6E
split-complementary
#5A679C #9C6E5A #889C5A
monochromatic
#2D344E #444D75 #5A679C #7E89B5 #A5ADCB

Accessibility & contrast

On white

5.45
#5A679C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5A679C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A679C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A679C#FFFFFF#000000##FFFFFF
##5A679C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556C9E
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#44727A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a679c;
/* rgb */ color: rgb(90, 103, 156);
/* oklch */ color: oklch(52.6% 0.085 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b92b9',
    500: '#5a679c',
    950: '#000000',
  },
}
SCSS
$custom: #5a679c;
$custom-light: #8b92b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a679c",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 156
  },
  "hsl": {
    "h": 228.182,
    "s": 26.829,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.0852,
    "h": 272.7
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#5A679C
secondary
#B9B399
accent
#B165C3
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #5A679C

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

Preview Lab → · Contrast checker → · Palette generator →

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