#5B77CB#5B77CB

#5B77CB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.133 H 268.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5B77CB
RGBrgb(91, 119, 203)
HSLhsl(225, 52%, 58%)
HSVhsv(225, 55%, 80%)
CMYKcmyk(55.2%, 41.4%, 0%, 20.4%)
CIE-LABlab(51.53, 14.46, -46.77)
CIE-LCHlch(51.53, 48.95, 287.18°)
OKLaboklab(58.73% -0.0041 -0.1328)
OKLCHoklch(58.73% 0.133 268.2)
XYZxyz(21.6871, 19.7280, 59.1534)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77CB #CBAF5B
analogous
#5BAFCB #5B77CB #775BCB
triadic
#5B77CB #CB5B77 #77CB5B
tetradic
#5B77CB #CB5BAF #CBAF5B #5BCB77
square
#5B77CB #CB5BAF #CBAF5B #5BCB77
split-complementary
#5B77CB #CB775B #AFCB5B
monochromatic
#294082 #3856B1 #5B77CB #899EDA #B8C4E8

Accessibility & contrast

On white

4.25
#5B77CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5B77CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77CB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77CB#FFFFFF#000000##000000
##5B77CB1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#1A8997
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b77cb;
/* rgb */ color: rgb(91, 119, 203);
/* oklch */ color: oklch(58.7% 0.133 268.2);
Tailwind
colors: {
  custom: {
    50: '#919ddb',
    500: '#5b77cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b77cb;
$custom-light: #919ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77cb",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 225,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.13285,
    "h": 268.2
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#5B77CB
secondary
#D7CCAA
accent
#B84CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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