#5F76E1#5F76E1

#5F76E1 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.1% C 0.164 H 271.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5F76E1
RGBrgb(95, 118, 225)
HSLhsl(229, 68%, 63%)
HSVhsv(229, 58%, 88%)
CMYKcmyk(57.8%, 47.6%, 0%, 11.8%)
CIE-LABlab(52.76, 23.07, -57.24)
CIE-LCHlch(52.76, 61.72, 291.95°)
OKLaboklab(60.13% 0.0045 -0.1635)
OKLCHoklch(60.13% 0.164 271.6)
XYZxyz(24.7839, 20.8241, 73.9330)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76E1 #E1CA5F
analogous
#5FB7E1 #5F76E1 #895FE1
triadic
#5F76E1 #E15F76 #76E15F
tetradic
#5F76E1 #E15FB7 #E1CA5F #5FE189
square
#5F76E1 #E15FB7 #E1CA5F #5FE189
split-complementary
#5F76E1 #E1895F #B7E15F
monochromatic
#1F37A6 #2B4AD7 #5F76E1 #93A2EB #C6CEF4

Accessibility & contrast

On white

4.07
#5F76E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5F76E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76E1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76E1#FFFFFF#000000##000000
##5F76E11.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#2D79DF
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f76e1;
/* rgb */ color: rgb(95, 118, 225);
/* oklch */ color: oklch(60.1% 0.164 271.6);
Tailwind
colors: {
  custom: {
    50: '#969deb',
    500: '#5f76e1',
    950: '#000000',
  },
}
SCSS
$custom: #5f76e1;
$custom-light: #969deb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76e1",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 229.385,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60133,
    "c": 0.16353,
    "h": 271.6
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#5F76E1
secondary
#E5DDB6
accent
#AF15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F76E1

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

Preview Lab → · Contrast checker → · Palette generator →

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