#5F77DE#5F77DE

#5F77DE is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.158 H 271.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5F77DE
RGBrgb(95, 119, 222)
HSLhsl(229, 66%, 62%)
HSVhsv(229, 57%, 87%)
CMYKcmyk(57.2%, 46.4%, 0%, 12.9%)
CIE-LABlab(52.84, 21.48, -55.42)
CIE-LCHlch(52.84, 59.44, 291.18°)
OKLaboklab(60.14% 0.003 -0.1581)
OKLCHoklch(60.14% 0.158 271.1)
XYZxyz(24.4966, 20.8986, 71.8360)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77DE #DEC65F
analogous
#5FB7DE #5F77DE #865FDE
triadic
#5F77DE #DE5F77 #77DE5F
tetradic
#5F77DE #DE5FB7 #DEC65F #5FDE86
square
#5F77DE #DE5FB7 #DEC65F #5FDE86
split-complementary
#5F77DE #DE865F #B7DE5F
monochromatic
#2139A1 #2C4CD4 #5F77DE #92A2E8 #C4CDF3

Accessibility & contrast

On white

4.05
#5F77DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5F77DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77DE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77DE#FFFFFF#000000##000000
##5F77DE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E2
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f77de;
/* rgb */ color: rgb(95, 119, 222);
/* oklch */ color: oklch(60.1% 0.158 271.1);
Tailwind
colors: {
  custom: {
    50: '#969de9',
    500: '#5f77de',
    950: '#000000',
  },
}
SCSS
$custom: #5f77de;
$custom-light: #969de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77de",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 222
  },
  "hsl": {
    "h": 228.661,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.15814,
    "h": 271.1
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#5F77DE
secondary
#E4DBB5
accent
#AB18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F77DE

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

Preview Lab → · Contrast checker → · Palette generator →

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