#5A75EB#5A75EB

#5A75EB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.3% C 0.180 H 270.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5A75EB
RGBrgb(90, 117, 235)
HSLhsl(229, 78%, 64%)
HSVhsv(229, 62%, 92%)
CMYKcmyk(61.7%, 50.2%, 0%, 7.8%)
CIE-LABlab(52.83, 26.08, -62.74)
CIE-LCHlch(52.83, 67.95, 292.57°)
OKLaboklab(60.31% 0.0015 -0.1798)
OKLCHoklch(60.31% 0.18 270.5)
XYZxyz(25.5681, 20.8922, 81.2664)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75EB #EBD05A
analogous
#5ABDEB #5A75EB #875AEB
triadic
#5A75EB #EB5A75 #75EB5A
tetradic
#5A75EB #EB5ABD #EBD05A #5AEB87
square
#5A75EB #EB5ABD #EBD05A #5AEB87
split-complementary
#5A75EB #EB875A #BDEB5A
monochromatic
#1633B5 #2347E4 #5A75EB #91A3F2 #C7D0F8

Accessibility & contrast

On white

4.05
#5A75EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5A75EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75EB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75EB#FFFFFF#000000##000000
##5A75EB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#0478E9
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a75eb;
/* rgb */ color: rgb(90, 117, 235);
/* oklch */ color: oklch(60.3% 0.180 270.5);
Tailwind
colors: {
  custom: {
    50: '#969cf2',
    500: '#5a75eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a75eb;
$custom-light: #969cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75eb",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 228.828,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60312,
    "c": 0.17978,
    "h": 270.5
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

primary
#5A75EB
secondary
#EAE0B7
accent
#B40BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A75EB

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

Preview Lab → · Contrast checker → · Palette generator →

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