#5F76DE#5F76DE

#5F76DE is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.9% C 0.159 H 271.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F76DE
RGBrgb(95, 118, 222)
HSLhsl(229, 66%, 62%)
HSVhsv(229, 57%, 87%)
CMYKcmyk(57.2%, 46.8%, 0%, 12.9%)
CIE-LABlab(52.58, 22.09, -55.84)
CIE-LCHlch(52.58, 60.05, 291.58°)
OKLaboklab(59.94% 0.0041 -0.1593)
OKLCHoklch(59.94% 0.159 271.5)
XYZxyz(24.3782, 20.6618, 71.7966)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76DE #DEC75F
analogous
#5FB5DE #5F76DE #885FDE
triadic
#5F76DE #DE5F76 #76DE5F
tetradic
#5F76DE #DE5FB5 #DEC75F #5FDE88
square
#5F76DE #DE5FB5 #DEC75F #5FDE88
split-complementary
#5F76DE #DE885F #B5DE5F
monochromatic
#2138A1 #2C4BD4 #5F76DE #92A1E8 #C4CDF3

Accessibility & contrast

On white

4.09
#5F76DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5F76DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76DE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76DE#FFFFFF#000000##000000
##5F76DE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E2
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f76de;
/* rgb */ color: rgb(95, 118, 222);
/* oklch */ color: oklch(59.9% 0.159 271.5);
Tailwind
colors: {
  custom: {
    50: '#969de9',
    500: '#5f76de',
    950: '#000000',
  },
}
SCSS
$custom: #5f76de;
$custom-light: #969de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76de",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 229.134,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59939,
    "c": 0.1594,
    "h": 271.5
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#5F76DE
secondary
#E4DBB5
accent
#AD18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F76DE

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

Preview Lab → · Contrast checker → · Palette generator →

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