#5A75DC#5A75DC

#5A75DC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.3% C 0.159 H 269.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5A75DC
RGBrgb(90, 117, 220)
HSLhsl(228, 65%, 61%)
HSVhsv(228, 59%, 86%)
CMYKcmyk(59.1%, 46.8%, 0%, 13.7%)
CIE-LABlab(51.91, 21.08, -55.80)
CIE-LCHlch(51.91, 59.65, 290.69°)
OKLaboklab(59.31% -0.0002 -0.1594)
OKLCHoklch(59.31% 0.159 269.9)
XYZxyz(23.4917, 20.0617, 70.3306)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75DC #DCC15A
analogous
#5AB6DC #5A75DC #805ADC
triadic
#5A75DC #DC5A75 #75DC5A
tetradic
#5A75DC #DC5AB6 #DCC15A #5ADC80
square
#5A75DC #DC5AB6 #DCC15A #5ADC80
split-complementary
#5A75DC #DC805A #B6DC5A
monochromatic
#213A9B #2C4DCD #5A75DC #8C9FE7 #BFC9F1

Accessibility & contrast

On white

4.19
#5A75DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5A75DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75DC#FFFFFF#000000##000000
##5A75DC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#2E76DA
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a75dc;
/* rgb */ color: rgb(90, 117, 220);
/* oklch */ color: oklch(59.3% 0.159 269.9);
Tailwind
colors: {
  custom: {
    50: '#939ce7',
    500: '#5a75dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a75dc;
$custom-light: #939ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75dc",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 227.538,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.15936,
    "h": 269.9
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#5A75DC
secondary
#E2D7B0
accent
#A719CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A75DC

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

Preview Lab → · Contrast checker → · Palette generator →

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