#5A75ED#5A75ED

#5A75ED is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.182 H 270.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A75ED
RGBrgb(90, 117, 237)
HSLhsl(229, 80%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(62%, 50.6%, 0%, 7.1%)
CIE-LABlab(52.96, 26.75, -63.66)
CIE-LCHlch(52.96, 69.05, 292.79°)
OKLaboklab(60.45% 0.0017 -0.1824)
OKLCHoklch(60.45% 0.182 270.5)
XYZxyz(25.8587, 21.0084, 82.7967)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75ED #EDD25A
analogous
#5ABEED #5A75ED #895AED
triadic
#5A75ED #ED5A75 #75ED5A
tetradic
#5A75ED #ED5ABE #EDD25A #5AED89
square
#5A75ED #ED5ABE #EDD25A #5AED89
split-complementary
#5A75ED #ED895A #BEED5A
monochromatic
#1432B8 #2347E7 #5A75ED #91A3F3 #C8D1F9

Accessibility & contrast

On white

4.04
#5A75ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5A75ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75ED
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75ED#FFFFFF#000000##000000
##5A75ED1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a75ed;
/* rgb */ color: rgb(90, 117, 237);
/* oklch */ color: oklch(60.4% 0.182 270.5);
Tailwind
colors: {
  custom: {
    50: '#969cf4',
    500: '#5a75ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a75ed;
$custom-light: #969cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75ed",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 237
  },
  "hsl": {
    "h": 228.98,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.18246,
    "h": 270.5
  },
  "luminance": 0.21011
}

Semantic roles & 50–950 ramp

primary
#5A75ED
secondary
#EBE2B8
accent
#B609DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A75ED

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

Preview Lab → · Contrast checker → · Palette generator →

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