#5A75CA#5A75CA

#5A75CA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.2% C 0.134 H 268.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5A75CA
RGBrgb(90, 117, 202)
HSLhsl(226, 51%, 57%)
HSVhsv(226, 55%, 79%)
CMYKcmyk(55.4%, 42.1%, 0%, 20.8%)
CIE-LABlab(50.87, 15.15, -47.24)
CIE-LCHlch(50.87, 49.61, 287.78°)
OKLaboklab(58.19% -0.003 -0.1342)
OKLCHoklch(58.19% 0.134 268.7)
XYZxyz(21.2349, 19.1589, 58.4447)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75CA #CAAF5A
analogous
#5AADCA #5A75CA #775ACA
triadic
#5A75CA #CA5A75 #75CA5A
tetradic
#5A75CA #CA5AAD #CAAF5A #5ACA77
square
#5A75CA #CA5AAD #CAAF5A #5ACA77
split-complementary
#5A75CA #CA775A #ADCA5A
monochromatic
#293E80 #3855AF #5A75CA #889CD9 #B7C2E8

Accessibility & contrast

On white

4.35
#5A75CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5A75CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75CA#FFFFFF#000000##000000
##5A75CA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECD
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#188896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a75ca;
/* rgb */ color: rgb(90, 117, 202);
/* oklch */ color: oklch(58.2% 0.134 268.7);
Tailwind
colors: {
  custom: {
    50: '#919cda',
    500: '#5a75ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a75ca;
$custom-light: #919cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75ca",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 225.536,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.13425,
    "h": 268.7
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#5A75CA
secondary
#D7CCA9
accent
#B94DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A75CA

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

Preview Lab → · Contrast checker → · Palette generator →

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