#5B77DB#5B77DB

#5B77DB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.155 H 269.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5B77DB
RGBrgb(91, 119, 219)
HSLhsl(227, 64%, 61%)
HSVhsv(227, 58%, 86%)
CMYKcmyk(58.4%, 45.7%, 0%, 14.1%)
CIE-LABlab(52.43, 19.71, -54.40)
CIE-LCHlch(52.43, 57.86, 289.92°)
OKLaboklab(59.71% -0.0014 -0.1552)
OKLCHoklch(59.71% 0.155 269.5)
XYZxyz(23.6931, 20.5304, 69.7183)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77DB #DBBF5B
analogous
#5BB7DB #5B77DB #7F5BDB
triadic
#5B77DB #DB5B77 #77DB5B
tetradic
#5B77DB #DB5BB7 #DBBF5B #5BDB7F
square
#5B77DB #DB5BB7 #DBBF5B #5BDB7F
split-complementary
#5B77DB #DB7F5B #B7DB5B
monochromatic
#223C9A #2D50CC #5B77DB #8DA1E6 #BFCAF1

Accessibility & contrast

On white

4.11
#5B77DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5B77DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77DB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77DB#FFFFFF#000000##000000
##5B77DB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b77db;
/* rgb */ color: rgb(91, 119, 219);
/* oklch */ color: oklch(59.7% 0.155 269.5);
Tailwind
colors: {
  custom: {
    50: '#939de7',
    500: '#5b77db',
    950: '#000000',
  },
}
SCSS
$custom: #5b77db;
$custom-light: #939de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77db",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 226.875,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.15519,
    "h": 269.5
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

primary
#5B77DB
secondary
#E1D7B1
accent
#A51ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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