#5A75BC#5A75BC

#5A75BC is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.4% C 0.114 H 267.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5A75BC
RGBrgb(90, 117, 188)
HSLhsl(223, 42%, 55%)
HSVhsv(223, 52%, 74%)
CMYKcmyk(52.1%, 37.8%, 0%, 26.3%)
CIE-LABlab(50.13, 10.63, -40.40)
CIE-LCHlch(50.13, 41.77, 284.74°)
OKLaboklab(57.37% -0.0059 -0.1142)
OKLCHoklch(57.37% 0.114 267)
XYZxyz(19.6518, 18.5257, 50.1075)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75BC #BCA15A
analogous
#5AA6BC #5A75BC #705ABC
triadic
#5A75BC #BC5A75 #75BC5A
tetradic
#5A75BC #BC5AA6 #BCA15A #5ABC70
square
#5A75BC #BC5AA6 #BCA15A #5ABC70
split-complementary
#5A75BC #BC705A #A6BC5A
monochromatic
#2D3F6F #3F589A #5A75BC #8699CE #B1BEDF

Accessibility & contrast

On white

4.46
#5A75BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5A75BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75BC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75BC#FFFFFF#000000##000000
##5A75BC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#2C848F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a75bc;
/* rgb */ color: rgb(90, 117, 188);
/* oklch */ color: oklch(57.4% 0.114 267.0);
Tailwind
colors: {
  custom: {
    50: '#8f9cd0',
    500: '#5a75bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a75bc;
$custom-light: #8f9cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75bc",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 188
  },
  "hsl": {
    "h": 223.469,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.11435,
    "h": 267
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#5A75BC
secondary
#CEC2A4
accent
#B056D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A75BC

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

Preview Lab → · Contrast checker → · Palette generator →

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