#5A75D2#5A75D2

#5A75D2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.7% C 0.145 H 269.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5A75D2
RGBrgb(90, 117, 210)
HSLhsl(227, 57%, 59%)
HSVhsv(227, 57%, 82%)
CMYKcmyk(57.1%, 44.3%, 0%, 17.6%)
CIE-LABlab(51.32, 17.77, -51.08)
CIE-LCHlch(51.32, 54.08, 289.19°)
OKLaboklab(58.68% -0.0016 -0.1455)
OKLCHoklch(58.68% 0.145 269.4)
XYZxyz(22.2067, 19.5477, 63.5631)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75D2 #D2B75A
analogous
#5AB1D2 #5A75D2 #7B5AD2
triadic
#5A75D2 #D25A75 #75D25A
tetradic
#5A75D2 #D25AB1 #D2B75A #5AD27B
square
#5A75D2 #D25AB1 #D2B75A #5AD27B
split-complementary
#5A75D2 #D27B5A #B1D25A
monochromatic
#263D8C #3352BC #5A75D2 #8A9DDF #BAC5EC

Accessibility & contrast

On white

4.28
#5A75D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5A75D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75D2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75D2#FFFFFF#000000##000000
##5A75D21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D6
Deuteranopia (green-blind)
#3B75D0
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a75d2;
/* rgb */ color: rgb(90, 117, 210);
/* oklch */ color: oklch(58.7% 0.145 269.4);
Tailwind
colors: {
  custom: {
    50: '#929ce0',
    500: '#5a75d2',
    950: '#000000',
  },
}
SCSS
$custom: #5a75d2;
$custom-light: #929ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75d2",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 210
  },
  "hsl": {
    "h": 226.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.14549,
    "h": 269.4
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#5A75D2
secondary
#DCD1AC
accent
#BE47E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A75D2

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

Preview Lab → · Contrast checker → · Palette generator →

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