#5F76EA#5F76EA

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

Color values

HEX#5F76EA
RGBrgb(95, 118, 234)
HSLhsl(230, 77%, 65%)
HSVhsv(230, 59%, 92%)
CMYKcmyk(59.4%, 49.6%, 0%, 8.2%)
CIE-LABlab(53.31, 26.02, -61.40)
CIE-LCHlch(53.31, 66.69, 292.97°)
OKLaboklab(60.73% 0.0054 -0.1757)
OKLCHoklch(60.73% 0.176 271.8)
XYZxyz(26.0441, 21.3282, 80.5702)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76EA #EAD35F
analogous
#5FBCEA #5F76EA #8E5FEA
triadic
#5F76EA #EA5F76 #76EA5F
tetradic
#5F76EA #EA5FBC #EAD35F #5FEA8E
square
#5F76EA #EA5FBC #EAD35F #5FEA8E
split-complementary
#5F76EA #EA8E5F #BCEA5F
monochromatic
#1832B7 #2948E3 #5F76EA #95A4F1 #CBD3F8

Accessibility & contrast

On white

3.99
#5F76EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5F76EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76EA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76EA#FFFFFF#000000##000000
##5F76EA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#1A79E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f76ea;
/* rgb */ color: rgb(95, 118, 234);
/* oklch */ color: oklch(60.7% 0.176 271.8);
Tailwind
colors: {
  custom: {
    50: '#989df1',
    500: '#5f76ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f76ea;
$custom-light: #989df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76ea",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 230.072,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.17579,
    "h": 271.8
  },
  "luminance": 0.2133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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