#5F77E9#5F77E9

#5F77E9 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.173 H 271.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5F77E9
RGBrgb(95, 119, 233)
HSLhsl(230, 76%, 64%)
HSVhsv(230, 59%, 91%)
CMYKcmyk(59.2%, 48.9%, 0%, 8.6%)
CIE-LABlab(53.50, 25.08, -60.53)
CIE-LCHlch(53.50, 65.52, 292.51°)
OKLaboklab(60.85% 0.0044 -0.1731)
OKLCHoklch(60.85% 0.173 271.4)
XYZxyz(26.0192, 21.5077, 79.8552)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77E9 #E9D15F
analogous
#5FBCE9 #5F77E9 #8C5FE9
triadic
#5F77E9 #E95F77 #77E95F
tetradic
#5F77E9 #E95FBC #E9D15F #5FE98C
square
#5F77E9 #E95FBC #E9D15F #5FE98C
split-complementary
#5F77E9 #E98C5F #BCE95F
monochromatic
#1934B5 #2949E2 #5F77E9 #95A5F0 #CBD2F8

Accessibility & contrast

On white

3.96
#5F77E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5F77E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77E9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77E9#FFFFFF#000000##000000
##5F77E91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86ED
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f77e9;
/* rgb */ color: rgb(95, 119, 233);
/* oklch */ color: oklch(60.9% 0.173 271.4);
Tailwind
colors: {
  custom: {
    50: '#989df1',
    500: '#5f77e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f77e9;
$custom-light: #989df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77e9",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 233
  },
  "hsl": {
    "h": 229.565,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.17318,
    "h": 271.4
  },
  "luminance": 0.2151
}

Semantic roles & 50–950 ramp

primary
#5F77E9
secondary
#EAE2BA
accent
#B50DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F77E9

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

Preview Lab → · Contrast checker → · Palette generator →

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