#5F76E7#5F76E7

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

Color values

HEX#5F76E7
RGBrgb(95, 118, 231)
HSLhsl(230, 74%, 64%)
HSVhsv(230, 59%, 91%)
CMYKcmyk(58.9%, 48.9%, 0%, 9.4%)
CIE-LABlab(53.12, 25.04, -60.02)
CIE-LCHlch(53.12, 65.04, 292.64°)
OKLaboklab(60.53% 0.0051 -0.1716)
OKLCHoklch(60.53% 0.172 271.7)
XYZxyz(25.6168, 21.1573, 78.3196)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76E7 #E7D05F
analogous
#5FBAE7 #5F76E7 #8C5FE7
triadic
#5F76E7 #E75F76 #76E75F
tetradic
#5F76E7 #E75FBA #E7D05F #5FE78C
square
#5F76E7 #E75FBA #E7D05F #5FE78C
split-complementary
#5F76E7 #E78C5F #BAE75F
monochromatic
#1B34B1 #2A48DF #5F76E7 #94A4EF #C9D1F7

Accessibility & contrast

On white

4.01
#5F76E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5F76E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76E7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76E7#FFFFFF#000000##000000
##5F76E71.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#2279E5
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f76e7;
/* rgb */ color: rgb(95, 118, 231);
/* oklch */ color: oklch(60.5% 0.172 271.7);
Tailwind
colors: {
  custom: {
    50: '#979def',
    500: '#5f76e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f76e7;
$custom-light: #979def;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76e7",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 229.853,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.17173,
    "h": 271.7
  },
  "luminance": 0.21159
}

Semantic roles & 50–950 ramp

primary
#5F76E7
secondary
#E9E1B9
accent
#B40FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5F76E7

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

Preview Lab → · Contrast checker → · Palette generator →

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