#5F76F6#5F76F6

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

Color values

HEX#5F76F6
RGBrgb(95, 118, 246)
HSLhsl(231, 89%, 67%)
HSVhsv(231, 61%, 96%)
CMYKcmyk(61.4%, 52%, 0%, 3.5%)
CIE-LABlab(54.07, 29.98, -66.86)
CIE-LCHlch(54.07, 73.27, 294.15°)
OKLaboklab(61.55% 0.0064 -0.1917)
OKLCHoklch(61.55% 0.192 271.9)
XYZxyz(27.8268, 22.0412, 89.9589)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76F6 #F6DF5F
analogous
#5FC2F6 #5F76F6 #945FF6
triadic
#5F76F6 #F65F76 #76F65F
tetradic
#5F76F6 #F65FC2 #F6DF5F #5FF694
square
#5F76F6 #F65FC2 #F6DF5F #5FF694
split-complementary
#5F76F6 #F6945F #C2F65F
monochromatic
#0C29CF #2544F3 #5F76F6 #99A8F9 #D3D9FD

Accessibility & contrast

On white

3.88
#5F76F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5F76F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76F6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76F6#FFFFFF#000000##000000
##5F76F61.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FB
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#0094AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f76f6;
/* rgb */ color: rgb(95, 118, 246);
/* oklch */ color: oklch(61.5% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#9a9dfa',
    500: '#5f76f6',
    950: '#000000',
  },
}
SCSS
$custom: #5f76f6;
$custom-light: #9a9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76f6",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 230.861,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.19186,
    "h": 271.9
  },
  "luminance": 0.22044
}

Semantic roles & 50–950 ramp

primary
#5F76F6
secondary
#F1E9C0
accent
#C300E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F76F6

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

Preview Lab → · Contrast checker → · Palette generator →

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