#5A75AC#5A75AC

#5A75AC is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.5% C 0.091 H 263.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A75AC
RGBrgb(90, 117, 172)
HSLhsl(220, 33%, 51%)
HSVhsv(220, 48%, 67%)
CMYKcmyk(47.7%, 32%, 0%, 32.5%)
CIE-LABlab(49.34, 5.60, -32.37)
CIE-LCHlch(49.34, 32.85, 279.81°)
OKLaboklab(56.51% -0.01 -0.0909)
OKLCHoklch(56.51% 0.091 263.7)
XYZxyz(18.0217, 17.8737, 41.5221)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75AC #AC915A
analogous
#5A9EAC #5A75AC #685AAC
triadic
#5A75AC #AC5A75 #75AC5A
tetradic
#5A75AC #AC5A9E #AC915A #5AAC68
square
#5A75AC #AC5A9E #AC915A #5AAC68
split-complementary
#5A75AC #AC685A #9EAC5A
monochromatic
#2F3E5D #435986 #5A75AC #8397C0 #ABB9D5

Accessibility & contrast

On white

4.59
#5A75AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5A75AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A75AC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75AC#FFFFFF#000000##FFFFFF
##5A75AC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#398189
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a75ac;
/* rgb */ color: rgb(90, 117, 172);
/* oklch */ color: oklch(56.5% 0.091 263.7);
Tailwind
colors: {
  custom: {
    50: '#8d9cc5',
    500: '#5a75ac',
    950: '#000000',
  },
}
SCSS
$custom: #5a75ac;
$custom-light: #8d9cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75ac",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 172
  },
  "hsl": {
    "h": 220.244,
    "s": 33.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.09141,
    "h": 263.7
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#5A75AC
secondary
#C3B79F
accent
#A65FC9
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5A75AC

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

Preview Lab → · Contrast checker → · Palette generator →

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