#5F76ED#5F76ED

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

Color values

HEX#5F76ED
RGBrgb(95, 118, 237)
HSLhsl(230, 80%, 65%)
HSVhsv(230, 60%, 93%)
CMYKcmyk(59.9%, 50.2%, 0%, 7.1%)
CIE-LABlab(53.49, 27.01, -62.78)
CIE-LCHlch(53.49, 68.34, 293.28°)
OKLaboklab(60.93% 0.0057 -0.1797)
OKLCHoklch(60.93% 0.18 271.8)
XYZxyz(26.4787, 21.5020, 82.8593)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76ED #EDD65F
analogous
#5FBDED #5F76ED #8F5FED
triadic
#5F76ED #ED5F76 #76ED5F
tetradic
#5F76ED #ED5FBD #EDD65F #5FED8F
square
#5F76ED #ED5FBD #EDD65F #5FED8F
split-complementary
#5F76ED #ED8F5F #BDED5F
monochromatic
#1530BC #2847E7 #5F76ED #96A5F3 #CDD4F9

Accessibility & contrast

On white

3.96
#5F76ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5F76ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76ED
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76ED#FFFFFF#000000##000000
##5F76ED1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F1
Deuteranopia (green-blind)
#0F7AEB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f76ed;
/* rgb */ color: rgb(95, 118, 237);
/* oklch */ color: oklch(60.9% 0.180 271.8);
Tailwind
colors: {
  custom: {
    50: '#989df3',
    500: '#5f76ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f76ed;
$custom-light: #989df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76ed",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 230.282,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.17984,
    "h": 271.8
  },
  "luminance": 0.21504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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