#5F76E8#5F76E8

#5F76E8 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.173 H 271.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5F76E8
RGBrgb(95, 118, 232)
HSLhsl(230, 75%, 64%)
HSVhsv(230, 59%, 91%)
CMYKcmyk(59.1%, 49.1%, 0%, 9%)
CIE-LABlab(53.18, 25.36, -60.48)
CIE-LCHlch(53.18, 65.59, 292.75°)
OKLaboklab(60.59% 0.0052 -0.173)
OKLCHoklch(60.59% 0.173 271.7)
XYZxyz(25.7584, 21.2139, 79.0656)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76E8 #E8D15F
analogous
#5FBBE8 #5F76E8 #8D5FE8
triadic
#5F76E8 #E85F76 #76E85F
tetradic
#5F76E8 #E85FBB #E8D15F #5FE88D
square
#5F76E8 #E85FBB #E8D15F #5FE88D
split-complementary
#5F76E8 #E88D5F #BBE85F
monochromatic
#1A33B3 #2948E0 #5F76E8 #95A4F0 #CAD2F7

Accessibility & contrast

On white

4.01
#5F76E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5F76E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76E8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76E8#FFFFFF#000000##000000
##5F76E81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EC
Deuteranopia (green-blind)
#1F79E6
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f76e8;
/* rgb */ color: rgb(95, 118, 232);
/* oklch */ color: oklch(60.6% 0.173 271.7);
Tailwind
colors: {
  custom: {
    50: '#989df0',
    500: '#5f76e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f76e8;
$custom-light: #989df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76e8",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 229.927,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.17308,
    "h": 271.7
  },
  "luminance": 0.21216
}

Semantic roles & 50–950 ramp

primary
#5F76E8
secondary
#E9E1BA
accent
#B50ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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