#5F77E8#5F77E8

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

Color values

HEX#5F77E8
RGBrgb(95, 119, 232)
HSLhsl(229, 75%, 64%)
HSVhsv(229, 59%, 91%)
CMYKcmyk(59.1%, 48.7%, 0%, 9%)
CIE-LABlab(53.44, 24.75, -60.07)
CIE-LCHlch(53.44, 64.97, 292.40°)
OKLaboklab(60.79% 0.0042 -0.1718)
OKLCHoklch(60.79% 0.172 271.4)
XYZxyz(25.8768, 21.4507, 79.1050)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77E8 #E8D05F
analogous
#5FBCE8 #5F77E8 #8C5FE8
triadic
#5F77E8 #E85F77 #77E85F
tetradic
#5F77E8 #E85FBC #E8D05F #5FE88C
square
#5F77E8 #E85FBC #E8D05F #5FE88C
split-complementary
#5F77E8 #E88C5F #BCE85F
monochromatic
#1A35B3 #294AE0 #5F77E8 #95A4F0 #CAD2F7

Accessibility & contrast

On white

3.97
#5F77E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5F77E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77E8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77E8#FFFFFF#000000##000000
##5F77E81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EC
Deuteranopia (green-blind)
#237AE6
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f77e8;
/* rgb */ color: rgb(95, 119, 232);
/* oklch */ color: oklch(60.8% 0.172 271.4);
Tailwind
colors: {
  custom: {
    50: '#979df0',
    500: '#5f77e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f77e8;
$custom-light: #979df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77e8",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 229.489,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.17183,
    "h": 271.4
  },
  "luminance": 0.21453
}

Semantic roles & 50–950 ramp

primary
#5F77E8
secondary
#E9E1BA
accent
#B40ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F77E8

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

Preview Lab → · Contrast checker → · Palette generator →

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