#5B75CC#5B75CC

#5B75CC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.4% C 0.137 H 269.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5B75CC
RGBrgb(91, 117, 204)
HSLhsl(226, 53%, 58%)
HSVhsv(226, 55%, 80%)
CMYKcmyk(55.4%, 42.6%, 0%, 20%)
CIE-LABlab(51.04, 16.01, -48.11)
CIE-LCHlch(51.04, 50.70, 288.41°)
OKLaboklab(58.37% -0.0016 -0.1367)
OKLCHoklch(58.37% 0.137 269.3)
XYZxyz(21.5711, 19.3048, 59.7045)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B75CC #CCB25B
analogous
#5BADCC #5B75CC #7A5BCC
triadic
#5B75CC #CC5B75 #75CC5B
tetradic
#5B75CC #CC5BAD #CCB25B #5BCC7A
square
#5B75CC #CC5BAD #CCB25B #5BCC7A
split-complementary
#5B75CC #CC7A5B #ADCC5B
monochromatic
#293E84 #3754B2 #5B75CC #8A9CDB #B8C4E9

Accessibility & contrast

On white

4.32
#5B75CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5B75CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B75CC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B75CC#FFFFFF#000000##000000
##5B75CC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#198896
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b75cc;
/* rgb */ color: rgb(91, 117, 204);
/* oklch */ color: oklch(58.4% 0.137 269.3);
Tailwind
colors: {
  custom: {
    50: '#919cdc',
    500: '#5b75cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b75cc;
$custom-light: #919cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b75cc",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 226.195,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.13676,
    "h": 269.3
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

primary
#5B75CC
secondary
#D8CEAB
accent
#BB4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B75CC

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

Preview Lab → · Contrast checker → · Palette generator →

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