#5F76DC#5F76DC

#5F76DC is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.157 H 271.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5F76DC
RGBrgb(95, 118, 220)
HSLhsl(229, 64%, 62%)
HSVhsv(229, 57%, 86%)
CMYKcmyk(56.8%, 46.4%, 0%, 13.7%)
CIE-LABlab(52.46, 21.44, -54.90)
CIE-LCHlch(52.46, 58.94, 291.33°)
OKLaboklab(59.81% 0.0038 -0.1566)
OKLCHoklch(59.81% 0.157 271.4)
XYZxyz(24.1118, 20.5552, 70.3932)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76DC #DCC55F
analogous
#5FB5DC #5F76DC #875FDC
triadic
#5F76DC #DC5F76 #76DC5F
tetradic
#5F76DC #DC5FB5 #DCC55F #5FDC87
square
#5F76DC #DC5FB5 #DCC55F #5FDC87
split-complementary
#5F76DC #DC875F #B5DC5F
monochromatic
#23399E #2E4BD0 #5F76DC #91A1E7 #C3CCF2

Accessibility & contrast

On white

4.11
#5F76DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5F76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76DC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76DC#FFFFFF#000000##000000
##5F76DC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#3478DA
Tritanopia (blue-blind)
#068D9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f76dc;
/* rgb */ color: rgb(95, 118, 220);
/* oklch */ color: oklch(59.8% 0.157 271.4);
Tailwind
colors: {
  custom: {
    50: '#969de7',
    500: '#5f76dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f76dc;
$custom-light: #969de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76dc",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 228.96,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59811,
    "c": 0.15664,
    "h": 271.4
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#5F76DC
secondary
#E3DAB4
accent
#AB1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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