#5A75C8#5A75C8

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

Color values

HEX#5A75C8
RGBrgb(90, 117, 200)
HSLhsl(225, 50%, 57%)
HSVhsv(225, 55%, 78%)
CMYKcmyk(55%, 41.5%, 0%, 21.6%)
CIE-LABlab(50.76, 14.50, -46.27)
CIE-LCHlch(50.76, 48.49, 287.40°)
OKLaboklab(58.07% -0.0034 -0.1314)
OKLCHoklch(58.07% 0.131 268.5)
XYZxyz(20.9996, 19.0648, 57.2057)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75C8 #C8AD5A
analogous
#5AACC8 #5A75C8 #765AC8
triadic
#5A75C8 #C85A75 #75C85A
tetradic
#5A75C8 #C85AAC #C8AD5A #5AC876
square
#5A75C8 #C85AAC #C8AD5A #5AC876
split-complementary
#5A75C8 #C8765A #ACC85A
monochromatic
#2A3E7E #3955AC #5A75C8 #889BD7 #B6C2E7

Accessibility & contrast

On white

4.36
#5A75C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5A75C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75C8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75C8#FFFFFF#000000##000000
##5A75C81.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#4574C6
Tritanopia (blue-blind)
#1C8795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a75c8;
/* rgb */ color: rgb(90, 117, 200);
/* oklch */ color: oklch(58.1% 0.131 268.5);
Tailwind
colors: {
  custom: {
    50: '#909cd9',
    500: '#5a75c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a75c8;
$custom-light: #909cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75c8",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 200
  },
  "hsl": {
    "h": 225.273,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.13143,
    "h": 268.5
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#5A75C8
secondary
#D5CAA8
accent
#B74EDA
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A75C8

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

Preview Lab → · Contrast checker → · Palette generator →

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