#5F72EB#5F72EB

#5F72EB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.182 H 273.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F72EB
RGBrgb(95, 114, 235)
HSLhsl(232, 78%, 65%)
HSVhsv(232, 60%, 92%)
CMYKcmyk(59.6%, 51.5%, 0%, 7.8%)
CIE-LABlab(52.36, 28.79, -63.49)
CIE-LCHlch(52.36, 69.72, 294.39°)
OKLaboklab(60.03% 0.0094 -0.1819)
OKLCHoklch(60.03% 0.182 273)
XYZxyz(25.7271, 20.4636, 81.1753)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72EB #EBD85F
analogous
#5FB8EB #5F72EB #925FEB
triadic
#5F72EB #EB5F72 #72EB5F
tetradic
#5F72EB #EB5FB8 #EBD85F #5FEB92
square
#5F72EB #EB5FB8 #EBD85F #5FEB92
split-complementary
#5F72EB #EB925F #B8EB5F
monochromatic
#172DB9 #2942E4 #5F72EB #95A2F2 #CCD2F9

Accessibility & contrast

On white

4.12
#5F72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5F72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72EB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72EB#FFFFFF#000000##000000
##5F72EB1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f72eb;
/* rgb */ color: rgb(95, 114, 235);
/* oklch */ color: oklch(60.0% 0.182 273.0);
Tailwind
colors: {
  custom: {
    50: '#989af2',
    500: '#5f72eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f72eb;
$custom-light: #989af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72eb",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 231.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.18214,
    "h": 273
  },
  "luminance": 0.20466
}

Semantic roles & 50–950 ramp

primary
#5F72EB
secondary
#EBE4BB
accent
#BE0BDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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