#5F76DD#5F76DD

#5F76DD is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.158 H 271.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5F76DD
RGBrgb(95, 118, 221)
HSLhsl(229, 65%, 62%)
HSVhsv(229, 57%, 87%)
CMYKcmyk(57%, 46.6%, 0%, 13.3%)
CIE-LABlab(52.52, 21.76, -55.37)
CIE-LCHlch(52.52, 59.50, 291.46°)
OKLaboklab(59.88% 0.004 -0.158)
OKLCHoklch(59.88% 0.158 271.4)
XYZxyz(24.2446, 20.6084, 71.0928)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76DD #DDC65F
analogous
#5FB5DD #5F76DD #875FDD
triadic
#5F76DD #DD5F76 #76DD5F
tetradic
#5F76DD #DD5FB5 #DDC65F #5FDD87
square
#5F76DD #DD5FB5 #DDC65F #5FDD87
split-complementary
#5F76DD #DD875F #B5DD5F
monochromatic
#2239A0 #2D4BD2 #5F76DD #91A1E8 #C4CCF2

Accessibility & contrast

On white

4.10
#5F76DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5F76DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76DD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76DD#FFFFFF#000000##000000
##5F76DD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#3378DB
Tritanopia (blue-blind)
#028D9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f76dd;
/* rgb */ color: rgb(95, 118, 221);
/* oklch */ color: oklch(59.9% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#969de8',
    500: '#5f76dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f76dd;
$custom-light: #969de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76dd",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 229.048,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.15802,
    "h": 271.4
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#5F76DD
secondary
#E3DBB5
accent
#AC19CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F76DD

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

Preview Lab → · Contrast checker → · Palette generator →

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