#5A75F0#5A75F0

#5A75F0 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.7% C 0.186 H 270.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A75F0
RGBrgb(90, 117, 240)
HSLhsl(229, 83%, 65%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(62.5%, 51.3%, 0%, 5.9%)
CIE-LABlab(53.15, 27.75, -65.02)
CIE-LCHlch(53.15, 70.69, 293.12°)
OKLaboklab(60.66% 0.002 -0.1865)
OKLCHoklch(60.66% 0.186 270.6)
XYZxyz(26.3006, 21.1852, 85.1243)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75F0 #F0D55A
analogous
#5AC0F0 #5A75F0 #8A5AF0
triadic
#5A75F0 #F05A75 #75F05A
tetradic
#5A75F0 #F05AC0 #F0D55A #5AF08A
square
#5A75F0 #F05AC0 #F0D55A #5AF08A
split-complementary
#5A75F0 #F08A5A #C0F05A
monochromatic
#1130BE #2246EB #5A75F0 #92A4F5 #CAD3FA

Accessibility & contrast

On white

4.01
#5A75F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5A75F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75F0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75F0#FFFFFF#000000##000000
##5A75F01.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B86F4
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a75f0;
/* rgb */ color: rgb(90, 117, 240);
/* oklch */ color: oklch(60.7% 0.186 270.6);
Tailwind
colors: {
  custom: {
    50: '#969cf6',
    500: '#5a75f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a75f0;
$custom-light: #969cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75f0",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 240
  },
  "hsl": {
    "h": 229.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.18647,
    "h": 270.6
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

primary
#5A75F0
secondary
#EDE3B9
accent
#B906E0
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A75F0

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

Preview Lab → · Contrast checker → · Palette generator →

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