#5F77EA#5F77EA

#5F77EA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.9% C 0.175 H 271.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5F77EA
RGBrgb(95, 119, 234)
HSLhsl(230, 77%, 65%)
HSVhsv(230, 59%, 92%)
CMYKcmyk(59.4%, 49.1%, 0%, 8.2%)
CIE-LABlab(53.56, 25.41, -60.99)
CIE-LCHlch(53.56, 66.07, 292.62°)
OKLaboklab(60.92% 0.0045 -0.1745)
OKLCHoklch(60.92% 0.175 271.5)
XYZxyz(26.1625, 21.5650, 80.6097)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77EA #EAD25F
analogous
#5FBDEA #5F77EA #8C5FEA
triadic
#5F77EA #EA5F77 #77EA5F
tetradic
#5F77EA #EA5FBD #EAD25F #5FEA8C
square
#5F77EA #EA5FBD #EAD25F #5FEA8C
split-complementary
#5F77EA #EA8C5F #BDEA5F
monochromatic
#1833B7 #2949E3 #5F77EA #95A5F1 #CBD3F8

Accessibility & contrast

On white

3.95
#5F77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5F77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77EA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77EA#FFFFFF#000000##000000
##5F77EA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EE
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f77ea;
/* rgb */ color: rgb(95, 119, 234);
/* oklch */ color: oklch(60.9% 0.175 271.5);
Tailwind
colors: {
  custom: {
    50: '#989df1',
    500: '#5f77ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f77ea;
$custom-light: #989df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77ea",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 229.64,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.17455,
    "h": 271.5
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#5F77EA
secondary
#EAE2BA
accent
#B60CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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