#5A75CD#5A75CD

#5A75CD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.4% C 0.138 H 269.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5A75CD
RGBrgb(90, 117, 205)
HSLhsl(226, 53%, 58%)
HSVhsv(226, 56%, 80%)
CMYKcmyk(56.1%, 42.9%, 0%, 19.6%)
CIE-LABlab(51.04, 16.13, -48.69)
CIE-LCHlch(51.04, 51.29, 288.33°)
OKLaboklab(58.37% -0.0025 -0.1385)
OKLCHoklch(58.37% 0.138 269)
XYZxyz(21.5935, 19.3024, 60.3336)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75CD #CDB25A
analogous
#5AAECD #5A75CD #785ACD
triadic
#5A75CD #CD5A75 #75CD5A
tetradic
#5A75CD #CD5AAE #CDB25A #5ACD78
square
#5A75CD #CD5AAE #CDB25A #5ACD78
split-complementary
#5A75CD #CD785A #AECD5A
monochromatic
#283E84 #3654B3 #5A75CD #899CDB #B8C4E9

Accessibility & contrast

On white

4.32
#5A75CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5A75CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75CD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75CD#FFFFFF#000000##000000
##5A75CD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#118897
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a75cd;
/* rgb */ color: rgb(90, 117, 205);
/* oklch */ color: oklch(58.4% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#919cdd',
    500: '#5a75cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a75cd;
$custom-light: #919cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75cd",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 225.913,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.13848,
    "h": 269
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#5A75CD
secondary
#D8CEAA
accent
#BB4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A75CD

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

Preview Lab → · Contrast checker → · Palette generator →

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