#5A75DB#5A75DB

#5A75DB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.2% C 0.158 H 269.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5A75DB
RGBrgb(90, 117, 219)
HSLhsl(227, 64%, 61%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(58.9%, 46.6%, 0%, 14.1%)
CIE-LABlab(51.85, 20.75, -55.34)
CIE-LCHlch(51.85, 59.10, 290.55°)
OKLaboklab(59.25% -0.0003 -0.158)
OKLCHoklch(59.25% 0.158 269.9)
XYZxyz(23.3596, 20.0088, 69.6352)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75DB #DBC05A
analogous
#5AB5DB #5A75DB #7F5ADB
triadic
#5A75DB #DB5A75 #75DB5A
tetradic
#5A75DB #DB5AB5 #DBC05A #5ADB7F
square
#5A75DB #DB5AB5 #DBC05A #5ADB7F
split-complementary
#5A75DB #DB7F5A #B5DB5A
monochromatic
#213A99 #2C4ECB #5A75DB #8C9FE6 #BEC9F1

Accessibility & contrast

On white

4.20
#5A75DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5A75DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75DB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75DB#FFFFFF#000000##000000
##5A75DB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a75db;
/* rgb */ color: rgb(90, 117, 219);
/* oklch */ color: oklch(59.2% 0.158 269.9);
Tailwind
colors: {
  custom: {
    50: '#939ce7',
    500: '#5a75db',
    950: '#000000',
  },
}
SCSS
$custom: #5a75db;
$custom-light: #939ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75db",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 227.442,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.15798,
    "h": 269.9
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#5A75DB
secondary
#E1D7B0
accent
#A71ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A75DB

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

Preview Lab → · Contrast checker → · Palette generator →

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