#5A77DB#5A77DB

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

Color values

HEX#5A77DB
RGBrgb(90, 119, 219)
HSLhsl(227, 64%, 61%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(58.9%, 45.7%, 0%, 14.1%)
CIE-LABlab(52.38, 19.52, -54.49)
CIE-LCHlch(52.38, 57.88, 289.71°)
OKLaboklab(59.65% -0.0024 -0.1555)
OKLCHoklch(59.65% 0.155 269.1)
XYZxyz(23.5952, 20.4799, 69.7137)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77DB #DBBE5A
analogous
#5AB7DB #5A77DB #7E5ADB
triadic
#5A77DB #DB5A77 #77DB5A
tetradic
#5A77DB #DB5AB7 #DBBE5A #5ADB7E
square
#5A77DB #DB5AB7 #DBBE5A #5ADB7E
split-complementary
#5A77DB #DB7E5A #B7DB5A
monochromatic
#213C99 #2C50CB #5A77DB #8CA0E6 #BECAF1

Accessibility & contrast

On white

4.12
#5A77DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5A77DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77DB#FFFFFF#000000##000000
##5A77DB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a77db;
/* rgb */ color: rgb(90, 119, 219);
/* oklch */ color: oklch(59.7% 0.155 269.1);
Tailwind
colors: {
  custom: {
    50: '#939de7',
    500: '#5a77db',
    950: '#000000',
  },
}
SCSS
$custom: #5a77db;
$custom-light: #939de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77db",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 226.512,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59652,
    "c": 0.15549,
    "h": 269.1
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#5A77DB
secondary
#E1D6B0
accent
#A41ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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