#5A75DF#5A75DF

#5A75DF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.163 H 270.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5A75DF
RGBrgb(90, 117, 223)
HSLhsl(228, 68%, 61%)
HSVhsv(228, 60%, 87%)
CMYKcmyk(59.6%, 47.5%, 0%, 12.5%)
CIE-LABlab(52.09, 22.08, -57.21)
CIE-LCHlch(52.09, 61.32, 291.10°)
OKLaboklab(59.51% 0.0002 -0.1635)
OKLCHoklch(59.51% 0.163 270.1)
XYZxyz(23.8926, 20.2220, 72.4419)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75DF #DFC45A
analogous
#5AB7DF #5A75DF #825ADF
triadic
#5A75DF #DF5A75 #75DF5A
tetradic
#5A75DF #DF5AB7 #DFC45A #5ADF82
square
#5A75DF #DF5AB7 #DFC45A #5ADF82
split-complementary
#5A75DF #DF825A #B7DF5A
monochromatic
#1F39A0 #294BD3 #5A75DF #8DA0E9 #C1CBF3

Accessibility & contrast

On white

4.16
#5A75DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5A75DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75DF#FFFFFF#000000##000000
##5A75DF1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#2977DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a75df;
/* rgb */ color: rgb(90, 117, 223);
/* oklch */ color: oklch(59.5% 0.163 270.1);
Tailwind
colors: {
  custom: {
    50: '#949cea',
    500: '#5a75df',
    950: '#000000',
  },
}
SCSS
$custom: #5a75df;
$custom-light: #949cea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75df",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 227.82,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59509,
    "c": 0.16348,
    "h": 270.1
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#5A75DF
secondary
#E3D9B2
accent
#AA16CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A75DF

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

Preview Lab → · Contrast checker → · Palette generator →

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