#5F76EB#5F76EB

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

Color values

HEX#5F76EB
RGBrgb(95, 118, 235)
HSLhsl(230, 78%, 65%)
HSVhsv(230, 60%, 92%)
CMYKcmyk(59.6%, 49.8%, 0%, 7.8%)
CIE-LABlab(53.37, 26.35, -61.86)
CIE-LCHlch(53.37, 67.24, 293.07°)
OKLaboklab(60.79% 0.0055 -0.1771)
OKLCHoklch(60.79% 0.177 271.8)
XYZxyz(26.1882, 21.3858, 81.3290)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76EB #EBD45F
analogous
#5FBCEB #5F76EB #8E5FEB
triadic
#5F76EB #EB5F76 #76EB5F
tetradic
#5F76EB #EB5FBC #EBD45F #5FEB8E
square
#5F76EB #EB5FBC #EBD45F #5FEB8E
split-complementary
#5F76EB #EB8E5F #BCEB5F
monochromatic
#1732B9 #2947E4 #5F76EB #95A5F2 #CCD3F9

Accessibility & contrast

On white

3.98
#5F76EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5F76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76EB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76EB#FFFFFF#000000##000000
##5F76EB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#177AE9
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f76eb;
/* rgb */ color: rgb(95, 118, 235);
/* oklch */ color: oklch(60.8% 0.177 271.8);
Tailwind
colors: {
  custom: {
    50: '#989df2',
    500: '#5f76eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f76eb;
$custom-light: #989df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76eb",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 230.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.17715,
    "h": 271.8
  },
  "luminance": 0.21388
}

Semantic roles & 50–950 ramp

primary
#5F76EB
secondary
#EBE3BB
accent
#B80BDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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