#5B75F5#5B75F5

#5B75F5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.193 H 271.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5B75F5
RGBrgb(91, 117, 245)
HSLhsl(230, 89%, 66%)
HSVhsv(230, 63%, 96%)
CMYKcmyk(62.9%, 52.2%, 0%, 3.9%)
CIE-LABlab(53.53, 29.59, -67.18)
CIE-LCHlch(53.53, 73.41, 293.77°)
OKLaboklab(61.06% 0.0033 -0.1928)
OKLCHoklch(61.06% 0.193 271)
XYZxyz(27.1516, 21.5369, 89.0947)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B75F5 #F5DB5B
analogous
#5BC2F5 #5B75F5 #8E5BF5
triadic
#5B75F5 #F55B75 #75F55B
tetradic
#5B75F5 #F55BC2 #F5DB5B #5BF58E
square
#5B75F5 #F55BC2 #F5DB5B #5BF58E
split-complementary
#5B75F5 #F58E5B #C2F55B
monochromatic
#0C2CC9 #2144F1 #5B75F5 #95A6F9 #CED6FC

Accessibility & contrast

On white

3.96
#5B75F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5B75F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B75F5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B75F5#FFFFFF#000000##000000
##5B75F51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2287F9
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b75f5;
/* rgb */ color: rgb(91, 117, 245);
/* oklch */ color: oklch(61.1% 0.193 271.0);
Tailwind
colors: {
  custom: {
    50: '#989cf9',
    500: '#5b75f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b75f5;
$custom-light: #989cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b75f5",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 229.87,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61062,
    "c": 0.19284,
    "h": 271
  },
  "luminance": 0.21539
}

Semantic roles & 50–950 ramp

primary
#5B75F5
secondary
#EFE7BC
accent
#BE00E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B75F5

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

Preview Lab → · Contrast checker → · Palette generator →

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