#5A77F1#5A77F1

#5A77F1 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.1% C 0.185 H 270.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5A77F1
RGBrgb(90, 119, 241)
HSLhsl(228, 84%, 65%)
HSVhsv(228, 63%, 95%)
CMYKcmyk(62.7%, 50.6%, 0%, 5.5%)
CIE-LABlab(53.72, 26.87, -64.65)
CIE-LCHlch(53.72, 70.01, 292.57°)
OKLaboklab(61.11% 0.0002 -0.1854)
OKLCHoklch(61.11% 0.185 270.1)
XYZxyz(26.6851, 21.7158, 85.9873)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77F1 #F1D45A
analogous
#5AC2F1 #5A77F1 #895AF1
triadic
#5A77F1 #F15A77 #77F15A
tetradic
#5A77F1 #F15AC2 #F1D45A #5AF189
square
#5A77F1 #F15AC2 #F1D45A #5AF189
split-complementary
#5A77F1 #F1895A #C2F15A
monochromatic
#1032C0 #2249EC #5A77F1 #92A5F6 #CBD4FB

Accessibility & contrast

On white

3.93
#5A77F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5A77F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77F1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77F1#FFFFFF#000000##000000
##5A77F11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3087F5
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a77f1;
/* rgb */ color: rgb(90, 119, 241);
/* oklch */ color: oklch(61.1% 0.185 270.1);
Tailwind
colors: {
  custom: {
    50: '#969df6',
    500: '#5a77f1',
    950: '#000000',
  },
}
SCSS
$custom: #5a77f1;
$custom-light: #969df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77f1",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 241
  },
  "hsl": {
    "h": 228.477,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.18536,
    "h": 270.1
  },
  "luminance": 0.21718
}

Semantic roles & 50–950 ramp

primary
#5A77F1
secondary
#EDE3BA
accent
#B705E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A77F1

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

Preview Lab → · Contrast checker → · Palette generator →

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