#5F72DE#5F72DE

#5F72DE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.164 H 272.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5F72DE
RGBrgb(95, 114, 222)
HSLhsl(231, 66%, 62%)
HSVhsv(231, 57%, 87%)
CMYKcmyk(57.2%, 48.6%, 0%, 12.9%)
CIE-LABlab(51.54, 24.54, -57.50)
CIE-LCHlch(51.54, 62.52, 293.11°)
OKLaboklab(59.15% 0.0083 -0.1643)
OKLCHoklch(59.15% 0.164 272.9)
XYZxyz(23.9171, 19.7397, 71.6429)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72DE #DECB5F
analogous
#5FB1DE #5F72DE #8C5FDE
triadic
#5F72DE #DE5F72 #72DE5F
tetradic
#5F72DE #DE5FB1 #DECB5F #5FDE8C
square
#5F72DE #DE5FB1 #DECB5F #5FDE8C
split-complementary
#5F72DE #DE8C5F #B1DE5F
monochromatic
#2134A1 #2C45D4 #5F72DE #929FE8 #C4CBF3

Accessibility & contrast

On white

4.24
#5F72DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5F72DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72DE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72DE#FFFFFF#000000##000000
##5F72DE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E2
Deuteranopia (green-blind)
#2776DC
Tritanopia (blue-blind)
#018A9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f72de;
/* rgb */ color: rgb(95, 114, 222);
/* oklch */ color: oklch(59.2% 0.164 272.9);
Tailwind
colors: {
  custom: {
    50: '#969ae9',
    500: '#5f72de',
    950: '#000000',
  },
}
SCSS
$custom: #5f72de;
$custom-light: #969ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72de",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 231.024,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.16449,
    "h": 272.9
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#5F72DE
secondary
#E4DDB5
accent
#B218CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F72DE

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

Preview Lab → · Contrast checker → · Palette generator →

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