#5F72E8#5F72E8

#5F72E8 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.178 H 273.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5F72E8
RGBrgb(95, 114, 232)
HSLhsl(232, 75%, 64%)
HSVhsv(232, 59%, 91%)
CMYKcmyk(59.1%, 50.9%, 0%, 9%)
CIE-LABlab(52.17, 27.81, -62.12)
CIE-LCHlch(52.17, 68.06, 294.11°)
OKLaboklab(59.82% 0.0092 -0.1779)
OKLCHoklch(59.82% 0.178 273)
XYZxyz(25.2973, 20.2917, 78.9119)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72E8 #E8D55F
analogous
#5FB7E8 #5F72E8 #915FE8
triadic
#5F72E8 #E85F72 #72E85F
tetradic
#5F72E8 #E85FB7 #E8D55F #5FE891
square
#5F72E8 #E85FB7 #E8D55F #5FE891
split-complementary
#5F72E8 #E8915F #B7E85F
monochromatic
#1A2FB3 #2943E0 #5F72E8 #95A1F0 #CAD0F7

Accessibility & contrast

On white

4.15
#5F72E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5F72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72E8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72E8#FFFFFF#000000##000000
##5F72E81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#0A77E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f72e8;
/* rgb */ color: rgb(95, 114, 232);
/* oklch */ color: oklch(59.8% 0.178 273.0);
Tailwind
colors: {
  custom: {
    50: '#989af0',
    500: '#5f72e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f72e8;
$custom-light: #989af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72e8",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 231.679,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.1781,
    "h": 273
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#5F72E8
secondary
#E9E3BA
accent
#BB0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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