#5F72EA#5F72EA

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

Color values

HEX#5F72EA
RGBrgb(95, 114, 234)
HSLhsl(232, 77%, 65%)
HSVhsv(232, 59%, 92%)
CMYKcmyk(59.4%, 51.3%, 0%, 8.2%)
CIE-LABlab(52.29, 28.46, -63.04)
CIE-LCHlch(52.29, 69.16, 294.30°)
OKLaboklab(59.96% 0.0094 -0.1805)
OKLCHoklch(59.96% 0.181 273)
XYZxyz(25.5830, 20.4060, 80.4166)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72EA #EAD75F
analogous
#5FB7EA #5F72EA #925FEA
triadic
#5F72EA #EA5F72 #72EA5F
tetradic
#5F72EA #EA5FB7 #EAD75F #5FEA92
square
#5F72EA #EA5FB7 #EAD75F #5FEA92
split-complementary
#5F72EA #EA925F #B7EA5F
monochromatic
#182EB7 #2942E3 #5F72EA #95A2F1 #CBD1F8

Accessibility & contrast

On white

4.13
#5F72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5F72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72EA#FFFFFF#000000##000000
##5F72EA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f72ea;
/* rgb */ color: rgb(95, 114, 234);
/* oklch */ color: oklch(60.0% 0.181 273.0);
Tailwind
colors: {
  custom: {
    50: '#989af1',
    500: '#5f72ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f72ea;
$custom-light: #989af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72ea",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 231.799,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.18079,
    "h": 273
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#5F72EA
secondary
#EAE4BA
accent
#BD0CD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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