#5F76F5#5F76F5

#5F76F5 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.5% C 0.191 H 271.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5F76F5
RGBrgb(95, 118, 245)
HSLhsl(231, 88%, 67%)
HSVhsv(231, 61%, 96%)
CMYKcmyk(61.2%, 51.8%, 0%, 3.9%)
CIE-LABlab(54.01, 29.65, -66.41)
CIE-LCHlch(54.01, 72.72, 294.06°)
OKLaboklab(61.48% 0.0064 -0.1904)
OKLCHoklch(61.48% 0.191 271.9)
XYZxyz(27.6737, 21.9800, 89.1527)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76F5 #F5DE5F
analogous
#5FC1F5 #5F76F5 #935FF5
triadic
#5F76F5 #F55F76 #76F55F
tetradic
#5F76F5 #F55FC1 #F5DE5F #5FF593
square
#5F76F5 #F55FC1 #F5DE5F #5FF593
split-complementary
#5F76F5 #F5935F #C1F55F
monochromatic
#0D2ACD #2545F1 #5F76F5 #99A7F9 #D2D9FC

Accessibility & contrast

On white

3.89
#5F76F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5F76F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76F5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76F5#FFFFFF#000000##000000
##5F76F51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2888F9
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f76f5;
/* rgb */ color: rgb(95, 118, 245);
/* oklch */ color: oklch(61.5% 0.191 271.9);
Tailwind
colors: {
  custom: {
    50: '#9a9df9',
    500: '#5f76f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f76f5;
$custom-light: #9a9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76f5",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 230.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.19053,
    "h": 271.9
  },
  "luminance": 0.21982
}

Semantic roles & 50–950 ramp

primary
#5F76F5
secondary
#F0E9C0
accent
#C201E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F76F5

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

Preview Lab → · Contrast checker → · Palette generator →

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