#5A75BB#5A75BB

#5A75BB is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.3% C 0.113 H 266.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5A75BB
RGBrgb(90, 117, 187)
HSLhsl(223, 42%, 54%)
HSVhsv(223, 52%, 73%)
CMYKcmyk(51.9%, 37.4%, 0%, 26.7%)
CIE-LABlab(50.08, 10.31, -39.90)
CIE-LCHlch(50.08, 41.21, 284.48°)
OKLaboklab(57.32% -0.0061 -0.1128)
OKLCHoklch(57.32% 0.113 266.9)
XYZxyz(19.5444, 18.4827, 49.5417)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75BB #BBA05A
analogous
#5AA6BB #5A75BB #705ABB
triadic
#5A75BB #BB5A75 #75BB5A
tetradic
#5A75BB #BB5AA6 #BBA05A #5ABB70
square
#5A75BB #BB5AA6 #BBA05A #5ABB70
split-complementary
#5A75BB #BB705A #A6BB5A
monochromatic
#2D3F6D #3F5899 #5A75BB #8599CD #B1BDDF

Accessibility & contrast

On white

4.47
#5A75BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5A75BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75BB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75BB#FFFFFF#000000##000000
##5A75BB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#2D848F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a75bb;
/* rgb */ color: rgb(90, 117, 187);
/* oklch */ color: oklch(57.3% 0.113 266.9);
Tailwind
colors: {
  custom: {
    50: '#8f9cd0',
    500: '#5a75bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a75bb;
$custom-light: #8f9cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75bb",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 187
  },
  "hsl": {
    "h": 223.299,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.11293,
    "h": 266.9
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#5A75BB
secondary
#CDC2A4
accent
#AF56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A75BB

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

Preview Lab → · Contrast checker → · Palette generator →

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