#5F77DD#5F77DD

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

Color values

HEX#5F77DD
RGBrgb(95, 119, 221)
HSLhsl(229, 65%, 62%)
HSVhsv(229, 57%, 87%)
CMYKcmyk(57%, 46.2%, 0%, 13.3%)
CIE-LABlab(52.78, 21.15, -54.95)
CIE-LCHlch(52.78, 58.88, 291.05°)
OKLaboklab(60.07% 0.0029 -0.1567)
OKLCHoklch(60.07% 0.157 271.1)
XYZxyz(24.3630, 20.8452, 71.1323)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77DD #DDC55F
analogous
#5FB6DD #5F77DD #865FDD
triadic
#5F77DD #DD5F77 #77DD5F
tetradic
#5F77DD #DD5FB6 #DDC55F #5FDD86
square
#5F77DD #DD5FB6 #DDC55F #5FDD86
split-complementary
#5F77DD #DD865F #B6DD5F
monochromatic
#223AA0 #2D4CD2 #5F77DD #91A2E8 #C4CDF2

Accessibility & contrast

On white

4.06
#5F77DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5F77DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77DD#FFFFFF#000000##000000
##5F77DD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E1
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#018E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f77dd;
/* rgb */ color: rgb(95, 119, 221);
/* oklch */ color: oklch(60.1% 0.157 271.1);
Tailwind
colors: {
  custom: {
    50: '#969de8',
    500: '#5f77dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f77dd;
$custom-light: #969de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77dd",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 228.571,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60074,
    "c": 0.15676,
    "h": 271.1
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#5F77DD
secondary
#E3DAB5
accent
#AA19CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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