#5D77FB#5D77FB

#5D77FB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 62.0% C 0.198 H 271.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5D77FB
RGBrgb(93, 119, 251)
HSLhsl(230, 95%, 67%)
HSVhsv(230, 63%, 98%)
CMYKcmyk(62.9%, 52.6%, 0%, 1.6%)
CIE-LABlab(54.54, 30.70, -68.88)
CIE-LCHlch(54.54, 75.41, 294.02°)
OKLaboklab(61.97% 0.0039 -0.1977)
OKLCHoklch(61.97% 0.198 271.1)
XYZxyz(28.5178, 22.4833, 94.0850)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D77FB #FBE15D
analogous
#5DC6FB #5D77FB #925DFB
triadic
#5D77FB #FB5D77 #77FB5D
tetradic
#5D77FB #FB5DC6 #FBE15D #5DFB92
square
#5D77FB #FB5DC6 #FBE15D #5DFB92
split-complementary
#5D77FB #FB925D #C6FB5D
monochromatic
#0528D8 #2145FA #5D77FB #99A9FC #D4DBFE

Accessibility & contrast

On white

3.82
#5D77FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5D77FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D77FB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D77FB#FFFFFF#000000##000000
##5D77FB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8AFF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#0096AE
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d77fb;
/* rgb */ color: rgb(93, 119, 251);
/* oklch */ color: oklch(62.0% 0.198 271.1);
Tailwind
colors: {
  custom: {
    50: '#999dfd',
    500: '#5d77fb',
    950: '#000000',
  },
}
SCSS
$custom: #5d77fb;
$custom-light: #999dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d77fb",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 230.127,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61973,
    "c": 0.19778,
    "h": 271.1
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#5D77FB
secondary
#F3EAC1
accent
#C000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5D77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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