#5F76EC#5F76EC

#5F76EC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.178 H 271.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5F76EC
RGBrgb(95, 118, 236)
HSLhsl(230, 79%, 65%)
HSVhsv(230, 60%, 93%)
CMYKcmyk(59.7%, 50%, 0%, 7.5%)
CIE-LABlab(53.43, 26.68, -62.32)
CIE-LCHlch(53.43, 67.79, 293.18°)
OKLaboklab(60.86% 0.0056 -0.1784)
OKLCHoklch(60.86% 0.178 271.8)
XYZxyz(26.3330, 21.4438, 82.0920)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76EC #ECD55F
analogous
#5FBCEC #5F76EC #8F5FEC
triadic
#5F76EC #EC5F76 #76EC5F
tetradic
#5F76EC #EC5FBC #ECD55F #5FEC8F
square
#5F76EC #EC5FBC #ECD55F #5FEC8F
split-complementary
#5F76EC #EC8F5F #BCEC5F
monochromatic
#1631BA #2847E6 #5F76EC #96A5F2 #CCD4F9

Accessibility & contrast

On white

3.97
#5F76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5F76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76EC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76EC#FFFFFF#000000##000000
##5F76EC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#137AEA
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f76ec;
/* rgb */ color: rgb(95, 118, 236);
/* oklch */ color: oklch(60.9% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#989df3',
    500: '#5f76ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f76ec;
$custom-light: #989df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76ec",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 230.213,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.17849,
    "h": 271.8
  },
  "luminance": 0.21446
}

Semantic roles & 50–950 ramp

primary
#5F76EC
secondary
#EBE4BB
accent
#B90ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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