#5F77E1#5F77E1

#5F77E1 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.162 H 271.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5F77E1
RGBrgb(95, 119, 225)
HSLhsl(229, 68%, 63%)
HSVhsv(229, 58%, 88%)
CMYKcmyk(57.8%, 47.1%, 0%, 11.8%)
CIE-LABlab(53.02, 22.46, -56.83)
CIE-LCHlch(53.02, 61.10, 291.56°)
OKLaboklab(60.33% 0.0034 -0.1622)
OKLCHoklch(60.33% 0.162 271.2)
XYZxyz(24.9022, 21.0609, 73.9725)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77E1 #E1C95F
analogous
#5FB8E1 #5F77E1 #885FE1
triadic
#5F77E1 #E15F77 #77E15F
tetradic
#5F77E1 #E15FB8 #E1C95F #5FE188
square
#5F77E1 #E15FB8 #E1C95F #5FE188
split-complementary
#5F77E1 #E1885F #B8E15F
monochromatic
#1F38A6 #2B4BD7 #5F77E1 #93A3EB #C6CFF4

Accessibility & contrast

On white

4.03
#5F77E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5F77E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77E1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77E1#FFFFFF#000000##000000
##5F77E11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f77e1;
/* rgb */ color: rgb(95, 119, 225);
/* oklch */ color: oklch(60.3% 0.162 271.2);
Tailwind
colors: {
  custom: {
    50: '#969deb',
    500: '#5f77e1',
    950: '#000000',
  },
}
SCSS
$custom: #5f77e1;
$custom-light: #969deb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77e1",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 225
  },
  "hsl": {
    "h": 228.923,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.16227,
    "h": 271.2
  },
  "luminance": 0.21063
}

Semantic roles & 50–950 ramp

primary
#5F77E1
secondary
#E5DDB6
accent
#AE15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F77E1

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

Preview Lab → · Contrast checker → · Palette generator →

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