#5A77EF#5A77EF

#5A77EF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.183 H 270.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5A77EF
RGBrgb(90, 119, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 62%, 94%)
CMYKcmyk(62.3%, 50.2%, 0%, 6.3%)
CIE-LABlab(53.60, 26.20, -63.74)
CIE-LCHlch(53.60, 68.92, 292.34°)
OKLaboklab(60.97% 0 -0.1827)
OKLCHoklch(60.97% 0.183 270)
XYZxyz(26.3880, 21.5970, 84.4227)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77EF #EFD25A
analogous
#5AC2EF #5A77EF #885AEF
triadic
#5A77EF #EF5A77 #77EF5A
tetradic
#5A77EF #EF5AC2 #EFD25A #5AEF88
square
#5A77EF #EF5AC2 #EFD25A #5AEF88
split-complementary
#5A77EF #EF885A #C2EF5A
monochromatic
#1233BC #2249EA #5A77EF #92A5F4 #CAD3FA

Accessibility & contrast

On white

3.95
#5A77EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5A77EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77EF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77EF#FFFFFF#000000##000000
##5A77EF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a77ef;
/* rgb */ color: rgb(90, 119, 239);
/* oklch */ color: oklch(61.0% 0.183 270.0);
Tailwind
colors: {
  custom: {
    50: '#969df5',
    500: '#5a77ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a77ef;
$custom-light: #969df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77ef",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 228.322,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.18268,
    "h": 270
  },
  "luminance": 0.21599
}

Semantic roles & 50–950 ramp

primary
#5A77EF
secondary
#ECE2B9
accent
#B507DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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