#5F76E9#5F76E9

#5F76E9 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.174 H 271.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5F76E9
RGBrgb(95, 118, 233)
HSLhsl(230, 76%, 64%)
HSVhsv(230, 59%, 91%)
CMYKcmyk(59.2%, 49.4%, 0%, 8.6%)
CIE-LABlab(53.24, 25.69, -60.94)
CIE-LCHlch(53.24, 66.14, 292.86°)
OKLaboklab(60.66% 0.0053 -0.1744)
OKLCHoklch(60.66% 0.174 271.8)
XYZxyz(25.9008, 21.2709, 79.8158)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76E9 #E9D25F
analogous
#5FBBE9 #5F76E9 #8D5FE9
triadic
#5F76E9 #E95F76 #76E95F
tetradic
#5F76E9 #E95FBB #E9D25F #5FE98D
square
#5F76E9 #E95FBB #E9D25F #5FE98D
split-complementary
#5F76E9 #E98D5F #BBE95F
monochromatic
#1933B5 #2948E2 #5F76E9 #95A4F0 #CBD2F8

Accessibility & contrast

On white

4.00
#5F76E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5F76E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76E9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76E9#FFFFFF#000000##000000
##5F76E91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985ED
Deuteranopia (green-blind)
#1D79E7
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f76e9;
/* rgb */ color: rgb(95, 118, 233);
/* oklch */ color: oklch(60.7% 0.174 271.8);
Tailwind
colors: {
  custom: {
    50: '#989df1',
    500: '#5f76e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f76e9;
$custom-light: #989df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76e9",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 233
  },
  "hsl": {
    "h": 230,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.17444,
    "h": 271.8
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#5F76E9
secondary
#EAE2BA
accent
#B60DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F76E9

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

Preview Lab → · Contrast checker → · Palette generator →

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