#5A75DA#5A75DA

#5A75DA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.2% C 0.157 H 269.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5A75DA
RGBrgb(90, 117, 218)
HSLhsl(227, 63%, 60%)
HSVhsv(227, 59%, 85%)
CMYKcmyk(58.7%, 46.3%, 0%, 14.5%)
CIE-LABlab(51.79, 20.42, -54.87)
CIE-LCHlch(51.79, 58.54, 290.41°)
OKLaboklab(59.19% -0.0004 -0.1566)
OKLCHoklch(59.19% 0.157 269.8)
XYZxyz(23.2284, 19.9563, 68.9440)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75DA #DABF5A
analogous
#5AB5DA #5A75DA #7F5ADA
triadic
#5A75DA #DA5A75 #75DA5A
tetradic
#5A75DA #DA5AB5 #DABF5A #5ADA7F
square
#5A75DA #DA5AB5 #DABF5A #5ADA7F
split-complementary
#5A75DA #DA7F5A #B5DA5A
monochromatic
#223B98 #2D4ECA #5A75DA #8C9FE5 #BEC9F0

Accessibility & contrast

On white

4.21
#5A75DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5A75DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75DA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75DA#FFFFFF#000000##000000
##5A75DA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DE
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a75da;
/* rgb */ color: rgb(90, 117, 218);
/* oklch */ color: oklch(59.2% 0.157 269.8);
Tailwind
colors: {
  custom: {
    50: '#939ce6',
    500: '#5a75da',
    950: '#000000',
  },
}
SCSS
$custom: #5a75da;
$custom-light: #939ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75da",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 218
  },
  "hsl": {
    "h": 227.344,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59185,
    "c": 0.1566,
    "h": 269.8
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#5A75DA
secondary
#E0D6AF
accent
#A61ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A75DA

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

Preview Lab → · Contrast checker → · Palette generator →

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