#5F76E4#5F76E4

#5F76E4 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.168 H 271.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F76E4
RGBrgb(95, 118, 228)
HSLhsl(230, 71%, 63%)
HSVhsv(230, 58%, 89%)
CMYKcmyk(58.3%, 48.2%, 0%, 10.6%)
CIE-LABlab(52.94, 24.05, -58.64)
CIE-LCHlch(52.94, 63.38, 292.30°)
OKLaboklab(60.33% 0.0048 -0.1676)
OKLCHoklch(60.33% 0.168 271.6)
XYZxyz(25.1967, 20.9892, 76.1073)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76E4 #E4CD5F
analogous
#5FB8E4 #5F76E4 #8A5FE4
triadic
#5F76E4 #E45F76 #76E45F
tetradic
#5F76E4 #E45FB8 #E4CD5F #5FE48A
square
#5F76E4 #E45FB8 #E4CD5F #5FE48A
split-complementary
#5F76E4 #E48A5F #B8E45F
monochromatic
#1D36AC #2B49DB #5F76E4 #93A3ED #C8D0F6

Accessibility & contrast

On white

4.04
#5F76E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5F76E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76E4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76E4#FFFFFF#000000##000000
##5F76E41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F84E8
Deuteranopia (green-blind)
#2879E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f76e4;
/* rgb */ color: rgb(95, 118, 228);
/* oklch */ color: oklch(60.3% 0.168 271.6);
Tailwind
colors: {
  custom: {
    50: '#979ded',
    500: '#5f76e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f76e4;
$custom-light: #979ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76e4",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 229.624,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.16764,
    "h": 271.6
  },
  "luminance": 0.20991
}

Semantic roles & 50–950 ramp

primary
#5F76E4
secondary
#E7DFB8
accent
#B212D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F76E4

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

Preview Lab → · Contrast checker → · Palette generator →

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