#5F77ED#5F77ED

#5F77ED is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.1% C 0.179 H 271.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5F77ED
RGBrgb(95, 119, 237)
HSLhsl(230, 80%, 65%)
HSVhsv(230, 60%, 93%)
CMYKcmyk(59.9%, 49.8%, 0%, 7.1%)
CIE-LABlab(53.75, 26.40, -62.37)
CIE-LCHlch(53.75, 67.73, 292.94°)
OKLaboklab(61.12% 0.0048 -0.1785)
OKLCHoklch(61.12% 0.179 271.5)
XYZxyz(26.5971, 21.7388, 82.8988)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77ED #EDD55F
analogous
#5FBEED #5F77ED #8E5FED
triadic
#5F77ED #ED5F77 #77ED5F
tetradic
#5F77ED #ED5FBE #EDD55F #5FED8E
square
#5F77ED #ED5FBE #EDD55F #5FED8E
split-complementary
#5F77ED #ED8E5F #BEED5F
monochromatic
#1531BC #2848E7 #5F77ED #96A6F3 #CDD5F9

Accessibility & contrast

On white

3.93
#5F77ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5F77ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77ED
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77ED#FFFFFF#000000##000000
##5F77ED1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#157AEB
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f77ed;
/* rgb */ color: rgb(95, 119, 237);
/* oklch */ color: oklch(61.1% 0.179 271.5);
Tailwind
colors: {
  custom: {
    50: '#989df3',
    500: '#5f77ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f77ed;
$custom-light: #989df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77ed",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 229.859,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.17859,
    "h": 271.5
  },
  "luminance": 0.21741
}

Semantic roles & 50–950 ramp

primary
#5F77ED
secondary
#ECE4BC
accent
#B809DC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F77ED

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

Preview Lab → · Contrast checker → · Palette generator →

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