#5F72EF#5F72EF

#5F72EF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.187 H 273.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5F72EF
RGBrgb(95, 114, 239)
HSLhsl(232, 82%, 65%)
HSVhsv(232, 60%, 94%)
CMYKcmyk(60.3%, 52.3%, 0%, 6.3%)
CIE-LABlab(52.62, 30.10, -65.31)
CIE-LCHlch(52.62, 71.91, 294.75°)
OKLaboklab(60.31% 0.0097 -0.1872)
OKLCHoklch(60.31% 0.187 273)
XYZxyz(26.3115, 20.6974, 84.2531)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72EF #EFDC5F
analogous
#5FBAEF #5F72EF #945FEF
triadic
#5F72EF #EF5F72 #72EF5F
tetradic
#5F72EF #EF5FBA #EFDC5F #5FEF94
square
#5F72EF #EF5FBA #EFDC5F #5FEF94
split-complementary
#5F72EF #EF945F #BAEF5F
monochromatic
#132AC0 #2741E9 #5F72EF #97A3F5 #CED4FA

Accessibility & contrast

On white

4.09
#5F72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5F72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72EF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72EF#FFFFFF#000000##000000
##5F72EF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f72ef;
/* rgb */ color: rgb(95, 114, 239);
/* oklch */ color: oklch(60.3% 0.187 273.0);
Tailwind
colors: {
  custom: {
    50: '#999af5',
    500: '#5f72ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f72ef;
$custom-light: #999af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72ef",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 232.083,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60308,
    "c": 0.18749,
    "h": 273
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#5F72EF
secondary
#EDE7BD
accent
#C207DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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