#5A75F3#5A75F3

#5A75F3 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.190 H 270.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5A75F3
RGBrgb(90, 117, 243)
HSLhsl(229, 86%, 65%)
HSVhsv(229, 63%, 95%)
CMYKcmyk(63%, 51.9%, 0%, 4.7%)
CIE-LABlab(53.35, 28.76, -66.37)
CIE-LCHlch(53.35, 72.34, 293.43°)
OKLaboklab(60.87% 0.0022 -0.1904)
OKLCHoklch(60.87% 0.19 270.7)
XYZxyz(26.7500, 21.3650, 87.4908)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75F3 #F3D85A
analogous
#5AC1F3 #5A75F3 #8C5AF3
triadic
#5A75F3 #F35A75 #75F35A
tetradic
#5A75F3 #F35AC1 #F3D85A #5AF38C
square
#5A75F3 #F35AC1 #F3D85A #5AF38C
split-complementary
#5A75F3 #F38C5A #C1F35A
monochromatic
#0E2EC4 #2145EF #5A75F3 #93A5F7 #CCD4FB

Accessibility & contrast

On white

3.98
#5A75F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5A75F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75F3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75F3#FFFFFF#000000##000000
##5A75F31.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F7
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a75f3;
/* rgb */ color: rgb(90, 117, 243);
/* oklch */ color: oklch(60.9% 0.190 270.7);
Tailwind
colors: {
  custom: {
    50: '#979cf8',
    500: '#5a75f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a75f3;
$custom-light: #979cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75f3",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 243
  },
  "hsl": {
    "h": 229.412,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.19046,
    "h": 270.7
  },
  "luminance": 0.21367
}

Semantic roles & 50–950 ramp

primary
#5A75F3
secondary
#EEE5BB
accent
#BB03E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A75F3

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

Preview Lab → · Contrast checker → · Palette generator →

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