#5F76E6#5F76E6

#5F76E6 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.170 H 271.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5F76E6
RGBrgb(95, 118, 230)
HSLhsl(230, 73%, 64%)
HSVhsv(230, 59%, 90%)
CMYKcmyk(58.7%, 48.7%, 0%, 9.8%)
CIE-LABlab(53.06, 24.71, -59.56)
CIE-LCHlch(53.06, 64.48, 292.53°)
OKLaboklab(60.46% 0.005 -0.1703)
OKLCHoklch(60.46% 0.17 271.7)
XYZxyz(25.4759, 21.1009, 77.5779)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76E6 #E6CF5F
analogous
#5FB9E6 #5F76E6 #8B5FE6
triadic
#5F76E6 #E65F76 #76E65F
tetradic
#5F76E6 #E65FB9 #E6CF5F #5FE68B
square
#5F76E6 #E65FB9 #E6CF5F #5FE68B
split-complementary
#5F76E6 #E68B5F #B9E65F
monochromatic
#1B35AF #2A49DE #5F76E6 #94A3EE #C9D1F7

Accessibility & contrast

On white

4.02
#5F76E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5F76E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76E6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76E6#FFFFFF#000000##000000
##5F76E61.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EA
Deuteranopia (green-blind)
#2479E4
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f76e6;
/* rgb */ color: rgb(95, 118, 230);
/* oklch */ color: oklch(60.5% 0.170 271.7);
Tailwind
colors: {
  custom: {
    50: '#979dee',
    500: '#5f76e6',
    950: '#000000',
  },
}
SCSS
$custom: #5f76e6;
$custom-light: #979dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76e6",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 230
  },
  "hsl": {
    "h": 229.778,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60461,
    "c": 0.17036,
    "h": 271.7
  },
  "luminance": 0.21103
}

Semantic roles & 50–950 ramp

primary
#5F76E6
secondary
#E8E0B9
accent
#B410D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5F76E6

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

Preview Lab → · Contrast checker → · Palette generator →

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