#5F76F0#5F76F0

#5F76F0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.1% C 0.184 H 271.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5F76F0
RGBrgb(95, 118, 240)
HSLhsl(230, 83%, 66%)
HSVhsv(230, 60%, 94%)
CMYKcmyk(60.4%, 50.8%, 0%, 5.9%)
CIE-LABlab(53.68, 28.00, -64.14)
CIE-LCHlch(53.68, 69.99, 293.58°)
OKLaboklab(61.13% 0.006 -0.1838)
OKLCHoklch(61.13% 0.184 271.9)
XYZxyz(26.9207, 21.6788, 85.1870)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76F0 #F0D95F
analogous
#5FBEF0 #5F76F0 #905FF0
triadic
#5F76F0 #F05F76 #76F05F
tetradic
#5F76F0 #F05FBE #F0D95F #5FF090
square
#5F76F0 #F05FBE #F0D95F #5FF090
split-complementary
#5F76F0 #F0905F #BEF05F
monochromatic
#122EC2 #2746EB #5F76F0 #97A6F5 #CFD6FA

Accessibility & contrast

On white

3.94
#5F76F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5F76F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76F0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76F0#FFFFFF#000000##000000
##5F76F01.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3087F4
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f76f0;
/* rgb */ color: rgb(95, 118, 240);
/* oklch */ color: oklch(61.1% 0.184 271.9);
Tailwind
colors: {
  custom: {
    50: '#999df6',
    500: '#5f76f0',
    950: '#000000',
  },
}
SCSS
$custom: #5f76f0;
$custom-light: #999df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76f0",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 240
  },
  "hsl": {
    "h": 230.483,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61133,
    "c": 0.18387,
    "h": 271.9
  },
  "luminance": 0.21681
}

Semantic roles & 50–950 ramp

primary
#5F76F0
secondary
#EEE6BD
accent
#BD06DF
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F76F0

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

Preview Lab → · Contrast checker → · Palette generator →

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