#5F76C1#5F76C1

#5F76C1 is a mid, moderate blue. Relative luminance 0.192; OKLCH L 58.2% C 0.119 H 269.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5F76C1
RGBrgb(95, 118, 193)
HSLhsl(226, 44%, 56%)
HSVhsv(226, 51%, 76%)
CMYKcmyk(50.8%, 38.9%, 0%, 24.3%)
CIE-LABlab(50.97, 12.76, -41.93)
CIE-LCHlch(50.97, 43.83, 286.93°)
OKLaboklab(58.18% -0.0009 -0.1186)
OKLCHoklch(58.18% 0.119 269.6)
XYZxyz(20.8203, 19.2387, 53.0581)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76C1 #C1AA5F
analogous
#5FA7C1 #5F76C1 #795FC1
triadic
#5F76C1 #C15F76 #76C15F
tetradic
#5F76C1 #C15FA7 #C1AA5F #5FC179
square
#5F76C1 #C15FA7 #C1AA5F #5FC179
split-complementary
#5F76C1 #C1795F #A7C15F
monochromatic
#2E3F77 #3F57A3 #5F76C1 #8B9CD2 #B7C2E3

Accessibility & contrast

On white

4.33
#5F76C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5F76C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76C1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76C1#FFFFFF#000000##000000
##5F76C11.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC4
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#348692
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f76c1;
/* rgb */ color: rgb(95, 118, 193);
/* oklch */ color: oklch(58.2% 0.119 269.6);
Tailwind
colors: {
  custom: {
    50: '#929dd4',
    500: '#5f76c1',
    950: '#000000',
  },
}
SCSS
$custom: #5f76c1;
$custom-light: #929dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76c1",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 193
  },
  "hsl": {
    "h": 225.918,
    "s": 44.144,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.11856,
    "h": 269.6
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#5F76C1
secondary
#D2C9AA
accent
#B654D4
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5F76C1

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

Preview Lab → · Contrast checker → · Palette generator →

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