#5F77EB#5F77EB

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

Color values

HEX#5F77EB
RGBrgb(95, 119, 235)
HSLhsl(230, 78%, 65%)
HSVhsv(230, 60%, 92%)
CMYKcmyk(59.6%, 49.4%, 0%, 7.8%)
CIE-LABlab(53.62, 25.74, -61.45)
CIE-LCHlch(53.62, 66.63, 292.73°)
OKLaboklab(60.99% 0.0046 -0.1758)
OKLCHoklch(60.99% 0.176 271.5)
XYZxyz(26.3065, 21.6226, 81.3684)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77EB #EBD35F
analogous
#5FBDEB #5F77EB #8D5FEB
triadic
#5F77EB #EB5F77 #77EB5F
tetradic
#5F77EB #EB5FBD #EBD35F #5FEB8D
square
#5F77EB #EB5FBD #EBD35F #5FEB8D
split-complementary
#5F77EB #EB8D5F #BDEB5F
monochromatic
#1733B9 #2949E4 #5F77EB #95A5F2 #CCD3F9

Accessibility & contrast

On white

3.94
#5F77EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F77EB#FFFFFF#000000##000000
##5F77EB1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#1C7AE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f77eb;
/* rgb */ color: rgb(95, 119, 235);
/* oklch */ color: oklch(61.0% 0.176 271.5);
Tailwind
colors: {
  custom: {
    50: '#989df2',
    500: '#5f77eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f77eb;
$custom-light: #989df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77eb",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 229.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.1759,
    "h": 271.5
  },
  "luminance": 0.21625
}

Semantic roles & 50–950 ramp

primary
#5F77EB
secondary
#EBE3BB
accent
#B70BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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