#5A75C9#5A75C9

#5A75C9 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.1% C 0.133 H 268.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5A75C9
RGBrgb(90, 117, 201)
HSLhsl(225, 51%, 57%)
HSVhsv(225, 55%, 79%)
CMYKcmyk(55.2%, 41.8%, 0%, 21.2%)
CIE-LABlab(50.82, 14.82, -46.76)
CIE-LCHlch(50.82, 49.05, 287.59°)
OKLaboklab(58.13% -0.0032 -0.1328)
OKLCHoklch(58.13% 0.133 268.6)
XYZxyz(21.1169, 19.1117, 57.8232)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75C9 #C9AE5A
analogous
#5AADC9 #5A75C9 #765AC9
triadic
#5A75C9 #C95A75 #75C95A
tetradic
#5A75C9 #C95AAD #C9AE5A #5AC976
square
#5A75C9 #C95AAD #C9AE5A #5AC976
split-complementary
#5A75C9 #C9765A #ADC95A
monochromatic
#2A3E7F #3955AD #5A75C9 #889CD8 #B6C2E7

Accessibility & contrast

On white

4.35
#5A75C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5A75C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75C9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75C9#FFFFFF#000000##000000
##5A75C91.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECC
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#1A8795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a75c9;
/* rgb */ color: rgb(90, 117, 201);
/* oklch */ color: oklch(58.1% 0.133 268.6);
Tailwind
colors: {
  custom: {
    50: '#909cda',
    500: '#5a75c9',
    950: '#000000',
  },
}
SCSS
$custom: #5a75c9;
$custom-light: #909cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75c9",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 201
  },
  "hsl": {
    "h": 225.405,
    "s": 50.685,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.13285,
    "h": 268.6
  },
  "luminance": 0.19113
}

Semantic roles & 50–950 ramp

primary
#5A75C9
secondary
#D6CBA9
accent
#B84EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A75C9

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

Preview Lab → · Contrast checker → · Palette generator →

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