#5A75E2#5A75E2

#5A75E2 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.168 H 270.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5A75E2
RGBrgb(90, 117, 226)
HSLhsl(228, 70%, 62%)
HSVhsv(228, 60%, 89%)
CMYKcmyk(60.2%, 48.2%, 0%, 11.4%)
CIE-LABlab(52.27, 23.08, -58.60)
CIE-LCHlch(52.27, 62.98, 291.49°)
OKLaboklab(59.71% 0.0006 -0.1676)
OKLCHoklch(59.71% 0.168 270.2)
XYZxyz(24.3006, 20.3852, 74.5909)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75E2 #E2C75A
analogous
#5AB9E2 #5A75E2 #835AE2
triadic
#5A75E2 #E25A75 #75E25A
tetradic
#5A75E2 #E25AB9 #E2C75A #5AE283
square
#5A75E2 #E25AB9 #E2C75A #5AE283
split-complementary
#5A75E2 #E2835A #B9E25A
monochromatic
#1D38A5 #264AD9 #5A75E2 #8EA1EB #C2CCF4

Accessibility & contrast

On white

4.14
#5A75E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5A75E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75E2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75E2#FFFFFF#000000##000000
##5A75E21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E6
Deuteranopia (green-blind)
#2477E0
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a75e2;
/* rgb */ color: rgb(90, 117, 226);
/* oklch */ color: oklch(59.7% 0.168 270.2);
Tailwind
colors: {
  custom: {
    50: '#949cec',
    500: '#5a75e2',
    950: '#000000',
  },
}
SCSS
$custom: #5a75e2;
$custom-light: #949cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75e2",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 228.088,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.16758,
    "h": 270.2
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#5A75E2
secondary
#E5DBB3
accent
#AC13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A75E2

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

Preview Lab → · Contrast checker → · Palette generator →

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