#5F77F0#5F77F0

#5F77F0 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.3% C 0.183 H 271.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5F77F0
RGBrgb(95, 119, 240)
HSLhsl(230, 83%, 66%)
HSVhsv(230, 60%, 94%)
CMYKcmyk(60.4%, 50.4%, 0%, 5.9%)
CIE-LABlab(53.94, 27.39, -63.74)
CIE-LCHlch(53.94, 69.37, 293.25°)
OKLaboklab(61.32% 0.005 -0.1826)
OKLCHoklch(61.32% 0.183 271.6)
XYZxyz(27.0391, 21.9156, 85.2264)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77F0 #F0D85F
analogous
#5FBFF0 #5F77F0 #8F5FF0
triadic
#5F77F0 #F05F77 #77F05F
tetradic
#5F77F0 #F05FBF #F0D85F #5FF08F
square
#5F77F0 #F05FBF #F0D85F #5FF08F
split-complementary
#5F77F0 #F08F5F #BFF05F
monochromatic
#122FC2 #2747EB #5F77F0 #97A7F5 #CFD6FA

Accessibility & contrast

On white

3.90
#5F77F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5F77F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77F0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77F0#FFFFFF#000000##000000
##5F77F01.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3388F4
Deuteranopia (green-blind)
#077BED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f77f0;
/* rgb */ color: rgb(95, 119, 240);
/* oklch */ color: oklch(61.3% 0.183 271.6);
Tailwind
colors: {
  custom: {
    50: '#999df6',
    500: '#5f77f0',
    950: '#000000',
  },
}
SCSS
$custom: #5f77f0;
$custom-light: #999df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77f0",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 240
  },
  "hsl": {
    "h": 230.069,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.18263,
    "h": 271.6
  },
  "luminance": 0.21918
}

Semantic roles & 50–950 ramp

primary
#5F77F0
secondary
#EEE6BD
accent
#BB06DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F77F0

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

Preview Lab → · Contrast checker → · Palette generator →

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