#5A75CB#5A75CB

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

Color values

HEX#5A75CB
RGBrgb(90, 117, 203)
HSLhsl(226, 52%, 57%)
HSVhsv(226, 56%, 80%)
CMYKcmyk(55.7%, 42.4%, 0%, 20.4%)
CIE-LABlab(50.93, 15.48, -47.72)
CIE-LCHlch(50.93, 50.17, 287.97°)
OKLaboklab(58.25% -0.0028 -0.1356)
OKLCHoklch(58.25% 0.136 268.8)
XYZxyz(21.3537, 19.2064, 59.0703)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75CB #CBB05A
analogous
#5AADCB #5A75CB #785ACB
triadic
#5A75CB #CB5A75 #75CB5A
tetradic
#5A75CB #CB5AAD #CBB05A #5ACB78
square
#5A75CB #CB5AAD #CBB05A #5ACB78
split-complementary
#5A75CB #CB785A #ADCB5A
monochromatic
#293E82 #3854B0 #5A75CB #899CDA #B7C3E8

Accessibility & contrast

On white

4.34
#5A75CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5A75CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75CB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75CB#FFFFFF#000000##000000
##5A75CB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#4275C9
Tritanopia (blue-blind)
#168896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a75cb;
/* rgb */ color: rgb(90, 117, 203);
/* oklch */ color: oklch(58.2% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#919cdb',
    500: '#5a75cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a75cb;
$custom-light: #919cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75cb",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 203
  },
  "hsl": {
    "h": 225.664,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58248,
    "c": 0.13567,
    "h": 268.8
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

primary
#5A75CB
secondary
#D7CCAA
accent
#B94CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A75CB

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

Preview Lab → · Contrast checker → · Palette generator →

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