#5A75BE#5A75BE

#5A75BE is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.5% C 0.117 H 267.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5A75BE
RGBrgb(90, 117, 190)
HSLhsl(224, 43%, 55%)
HSVhsv(224, 53%, 75%)
CMYKcmyk(52.6%, 38.4%, 0%, 25.5%)
CIE-LABlab(50.23, 11.27, -41.39)
CIE-LCHlch(50.23, 42.89, 285.23°)
OKLaboklab(57.49% -0.0055 -0.1171)
OKLCHoklch(57.49% 0.117 267.3)
XYZxyz(19.8689, 18.6126, 51.2508)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75BE #BEA35A
analogous
#5AA7BE #5A75BE #715ABE
triadic
#5A75BE #BE5A75 #75BE5A
tetradic
#5A75BE #BE5AA7 #BEA35A #5ABE71
square
#5A75BE #BE5AA7 #BEA35A #5ABE71
split-complementary
#5A75BE #BE715A #A7BE5A
monochromatic
#2D3F71 #3E589D #5A75BE #869ACF #B2BEE1

Accessibility & contrast

On white

4.45
#5A75BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5A75BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75BE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75BE#FFFFFF#000000##000000
##5A75BE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CC1
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#298590
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a75be;
/* rgb */ color: rgb(90, 117, 190);
/* oklch */ color: oklch(57.5% 0.117 267.3);
Tailwind
colors: {
  custom: {
    50: '#8f9cd2',
    500: '#5a75be',
    950: '#000000',
  },
}
SCSS
$custom: #5a75be;
$custom-light: #8f9cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75be",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 190
  },
  "hsl": {
    "h": 223.8,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.11722,
    "h": 267.3
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#5A75BE
secondary
#CFC4A5
accent
#B155D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A75BE

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

Preview Lab → · Contrast checker → · Palette generator →

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