#5F72F5#5F72F5

#5F72F5 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.195 H 273.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5F72F5
RGBrgb(95, 114, 245)
HSLhsl(232, 88%, 67%)
HSVhsv(232, 61%, 96%)
CMYKcmyk(61.2%, 53.5%, 0%, 3.9%)
CIE-LABlab(53.01, 32.08, -68.01)
CIE-LCHlch(53.01, 75.20, 295.25°)
OKLaboklab(60.73% 0.0101 -0.1952)
OKLCHoklch(60.73% 0.195 273)
XYZxyz(27.2126, 21.0578, 88.9990)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72F5 #F5E25F
analogous
#5FBDF5 #5F72F5 #975FF5
triadic
#5F72F5 #F55F72 #72F55F
tetradic
#5F72F5 #F55FBD #F5E25F #5FF597
square
#5F72F5 #F55FBD #F5E25F #5FF597
split-complementary
#5F72F5 #F5975F #BDF55F
monochromatic
#0D25CD #253FF1 #5F72F5 #99A5F9 #D2D8FC

Accessibility & contrast

On white

4.03
#5F72F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5F72F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72F5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72F5#FFFFFF#000000##000000
##5F72F51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1585FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#0091A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f72f5;
/* rgb */ color: rgb(95, 114, 245);
/* oklch */ color: oklch(60.7% 0.195 273.0);
Tailwind
colors: {
  custom: {
    50: '#9a9af9',
    500: '#5f72f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f72f5;
$custom-light: #9a9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72f5",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 232.4,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60732,
    "c": 0.19545,
    "h": 273
  },
  "luminance": 0.2106
}

Semantic roles & 50–950 ramp

primary
#5F72F5
secondary
#F0EAC0
accent
#C801E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F72F5

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

Preview Lab → · Contrast checker → · Palette generator →

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