#5F72DF#5F72DF

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

Color values

HEX#5F72DF
RGBrgb(95, 114, 223)
HSLhsl(231, 67%, 62%)
HSVhsv(231, 57%, 87%)
CMYKcmyk(57.4%, 48.9%, 0%, 12.5%)
CIE-LABlab(51.60, 24.86, -57.97)
CIE-LCHlch(51.60, 63.08, 293.22°)
OKLaboklab(59.22% 0.0084 -0.1656)
OKLCHoklch(59.22% 0.166 272.9)
XYZxyz(24.0515, 19.7934, 72.3508)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72DF #DFCC5F
analogous
#5FB2DF #5F72DF #8C5FDF
triadic
#5F72DF #DF5F72 #72DF5F
tetradic
#5F72DF #DF5FB2 #DFCC5F #5FDF8C
square
#5F72DF #DF5FB2 #DFCC5F #5FDF8C
split-complementary
#5F72DF #DF8C5F #B2DF5F
monochromatic
#2134A3 #2C45D5 #5F72DF #929FE9 #C5CCF3

Accessibility & contrast

On white

4.23
#5F72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5F72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72DF#FFFFFF#000000##000000
##5F72DF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#2576DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f72df;
/* rgb */ color: rgb(95, 114, 223);
/* oklch */ color: oklch(59.2% 0.166 272.9);
Tailwind
colors: {
  custom: {
    50: '#969aea',
    500: '#5f72df',
    950: '#000000',
  },
}
SCSS
$custom: #5f72df;
$custom-light: #969aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72df",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 231.094,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59219,
    "c": 0.16586,
    "h": 272.9
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#5F72DF
secondary
#E4DDB6
accent
#B317CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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