#5A75CF#5A75CF

#5A75CF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.141 H 269.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5A75CF
RGBrgb(90, 117, 207)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(56.5%, 43.5%, 0%, 18.8%)
CIE-LABlab(51.15, 16.79, -49.65)
CIE-LCHlch(51.15, 52.41, 288.68°)
OKLaboklab(58.49% -0.0021 -0.1413)
OKLCHoklch(58.49% 0.141 269.1)
XYZxyz(21.8365, 19.3996, 61.6132)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75CF #CFB45A
analogous
#5AAFCF #5A75CF #795ACF
triadic
#5A75CF #CF5A75 #75CF5A
tetradic
#5A75CF #CF5AAF #CFB45A #5ACF79
square
#5A75CF #CF5AAF #CFB45A #5ACF79
split-complementary
#5A75CF #CF795A #AFCF5A
monochromatic
#273D87 #3553B7 #5A75CF #899DDD #B9C4EB

Accessibility & contrast

On white

4.30
#5A75CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5A75CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75CF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75CF#FFFFFF#000000##000000
##5A75CF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#3E75CD
Tritanopia (blue-blind)
#0A8998
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a75cf;
/* rgb */ color: rgb(90, 117, 207);
/* oklch */ color: oklch(58.5% 0.141 269.1);
Tailwind
colors: {
  custom: {
    50: '#919cde',
    500: '#5a75cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a75cf;
$custom-light: #919cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75cf",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 207
  },
  "hsl": {
    "h": 226.154,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.14129,
    "h": 269.1
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#5A75CF
secondary
#DACFAB
accent
#BC4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A75CF

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

Preview Lab → · Contrast checker → · Palette generator →

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