#5F77DC#5F77DC

#5F77DC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.155 H 271.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5F77DC
RGBrgb(95, 119, 220)
HSLhsl(228, 64%, 62%)
HSVhsv(228, 57%, 86%)
CMYKcmyk(56.8%, 45.9%, 0%, 13.7%)
CIE-LABlab(52.72, 20.82, -54.48)
CIE-LCHlch(52.72, 58.33, 290.92°)
OKLaboklab(60.01% 0.0028 -0.1553)
OKLCHoklch(60.01% 0.155 271)
XYZxyz(24.2301, 20.7920, 70.4327)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77DC #DCC45F
analogous
#5FB6DC #5F77DC #865FDC
triadic
#5F77DC #DC5F77 #77DC5F
tetradic
#5F77DC #DC5FB6 #DCC45F #5FDC86
square
#5F77DC #DC5FB6 #DCC45F #5FDC86
split-complementary
#5F77DC #DC865F #B6DC5F
monochromatic
#233A9E #2E4DD0 #5F77DC #91A2E7 #C3CCF2

Accessibility & contrast

On white

4.07
#5F77DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5F77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77DC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77DC#FFFFFF#000000##000000
##5F77DC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E0
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#058D9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f77dc;
/* rgb */ color: rgb(95, 119, 220);
/* oklch */ color: oklch(60.0% 0.155 271.0);
Tailwind
colors: {
  custom: {
    50: '#969de7',
    500: '#5f77dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f77dc;
$custom-light: #969de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77dc",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 228.48,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.15537,
    "h": 271
  },
  "luminance": 0.20794
}

Semantic roles & 50–950 ramp

primary
#5F77DC
secondary
#E3DAB4
accent
#AA1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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