#5B76F5#5B76F5

#5B76F5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.192 H 270.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5B76F5
RGBrgb(91, 118, 245)
HSLhsl(229, 89%, 66%)
HSVhsv(229, 63%, 96%)
CMYKcmyk(62.9%, 51.8%, 0%, 3.9%)
CIE-LABlab(53.78, 28.98, -66.78)
CIE-LCHlch(53.78, 72.79, 293.46°)
OKLaboklab(61.25% 0.0024 -0.1916)
OKLCHoklch(61.25% 0.192 270.7)
XYZxyz(27.2687, 21.7712, 89.1337)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76F5 #F5DA5B
analogous
#5BC3F5 #5B76F5 #8D5BF5
triadic
#5B76F5 #F55B76 #76F55B
tetradic
#5B76F5 #F55BC3 #F5DA5B #5BF58D
square
#5B76F5 #F55BC3 #F5DA5B #5BF58D
split-complementary
#5B76F5 #F58D5B #C3F55B
monochromatic
#0C2DC9 #2146F1 #5B76F5 #95A6F9 #CED6FC

Accessibility & contrast

On white

3.92
#5B76F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5B76F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76F5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76F5#FFFFFF#000000##000000
##5B76F51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688F9
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b76f5;
/* rgb */ color: rgb(91, 118, 245);
/* oklch */ color: oklch(61.3% 0.192 270.7);
Tailwind
colors: {
  custom: {
    50: '#989df9',
    500: '#5b76f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b76f5;
$custom-light: #989df9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76f5",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 229.481,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.19162,
    "h": 270.7
  },
  "luminance": 0.21774
}

Semantic roles & 50–950 ramp

primary
#5B76F5
secondary
#EFE6BC
accent
#BD00E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B76F5

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

Preview Lab → · Contrast checker → · Palette generator →

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