#5F72FF#5F72FF

#5F72FF is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.5% C 0.209 H 272.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5F72FF
RGBrgb(95, 114, 255)
HSLhsl(233, 100%, 69%)
HSVhsv(233, 63%, 100%)
CMYKcmyk(62.7%, 55.3%, 0%, 0%)
CIE-LABlab(53.69, 35.36, -72.45)
CIE-LCHlch(53.69, 80.62, 296.02°)
OKLaboklab(61.46% 0.0104 -0.2083)
OKLCHoklch(61.46% 0.209 272.9)
XYZxyz(28.7806, 21.6851, 97.2573)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72FF #FFEC5F
analogous
#5FC2FF #5F72FF #9C5FFF
triadic
#5F72FF #FF5F72 #72FF5F
tetradic
#5F72FF #FF5FC2 #FFEC5F #5FFF9C
square
#5F72FF #FF5FC2 #FFEC5F #5FFF9C
split-complementary
#5F72FF #FF9C5F #C2FF5F
monochromatic
#001BE4 #223CFF #5F72FF #9CA8FF #D9DEFF

Accessibility & contrast

On white

3.93
#5F72FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5F72FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72FF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72FF#FFFFFF#000000##000000
##5F72FF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#0094AE
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f72ff;
/* rgb */ color: rgb(95, 114, 255);
/* oklch */ color: oklch(61.5% 0.209 272.9);
Tailwind
colors: {
  custom: {
    50: '#9b9aff',
    500: '#5f72ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f72ff;
$custom-light: #9b9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72ff",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 232.875,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61455,
    "c": 0.20852,
    "h": 272.9
  },
  "luminance": 0.21688
}

Semantic roles & 50–950 ramp

primary
#5F72FF
secondary
#F5EFC5
accent
#CA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F72FF

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

Preview Lab → · Contrast checker → · Palette generator →

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