#5A75DD#5A75DD

#5A75DD is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.4% C 0.161 H 270.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5A75DD
RGBrgb(90, 117, 221)
HSLhsl(228, 66%, 61%)
HSVhsv(228, 59%, 87%)
CMYKcmyk(59.3%, 47.1%, 0%, 13.3%)
CIE-LABlab(51.97, 21.41, -56.27)
CIE-LCHlch(51.97, 60.21, 290.83°)
OKLaboklab(59.38% 0 -0.1607)
OKLCHoklch(59.38% 0.161 270)
XYZxyz(23.6245, 20.1148, 71.0302)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75DD #DDC25A
analogous
#5AB6DD #5A75DD #805ADD
triadic
#5A75DD #DD5A75 #75DD5A
tetradic
#5A75DD #DD5AB6 #DDC25A #5ADD80
square
#5A75DD #DD5AB6 #DDC25A #5ADD80
split-complementary
#5A75DD #DD805A #B6DD5A
monochromatic
#203A9C #2B4DCF #5A75DD #8D9FE7 #BFCAF2

Accessibility & contrast

On white

4.18
#5A75DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5A75DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75DD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75DD#FFFFFF#000000##000000
##5A75DD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#2D76DB
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a75dd;
/* rgb */ color: rgb(90, 117, 221);
/* oklch */ color: oklch(59.4% 0.161 270.0);
Tailwind
colors: {
  custom: {
    50: '#939ce8',
    500: '#5a75dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a75dd;
$custom-light: #939ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75dd",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 227.634,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59379,
    "c": 0.16074,
    "h": 270
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#5A75DD
secondary
#E2D8B1
accent
#A818CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A75DD

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

Preview Lab → · Contrast checker → · Palette generator →

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