#5F72F4#5F72F4

#5F72F4 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.7% C 0.194 H 273.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F72F4
RGBrgb(95, 114, 244)
HSLhsl(232, 87%, 66%)
HSVhsv(232, 61%, 96%)
CMYKcmyk(61.1%, 53.3%, 0%, 4.3%)
CIE-LABlab(52.95, 31.75, -67.56)
CIE-LCHlch(52.95, 74.65, 295.17°)
OKLaboklab(60.66% 0.01 -0.1939)
OKLCHoklch(60.66% 0.194 273)
XYZxyz(27.0604, 20.9969, 88.1972)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72F4 #F4E15F
analogous
#5FBDF4 #5F72F4 #975FF4
triadic
#5F72F4 #F45F72 #72F45F
tetradic
#5F72F4 #F45FBD #F4E15F #5FF497
square
#5F72F4 #F45FBD #F4E15F #5FF497
split-complementary
#5F72F4 #F4975F #BDF45F
monochromatic
#0E26CB #2640F0 #5F72F4 #98A4F8 #D2D7FC

Accessibility & contrast

On white

4.04
#5F72F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5F72F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72F4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72F4#FFFFFF#000000##000000
##5F72F41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1885F9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f72f4;
/* rgb */ color: rgb(95, 114, 244);
/* oklch */ color: oklch(60.7% 0.194 273.0);
Tailwind
colors: {
  custom: {
    50: '#9a9af9',
    500: '#5f72f4',
    950: '#000000',
  },
}
SCSS
$custom: #5f72f4;
$custom-light: #9a9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72f4",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 232.349,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.19413,
    "h": 273
  },
  "luminance": 0.20999
}

Semantic roles & 50–950 ramp

primary
#5F72F4
secondary
#F0E9BF
accent
#C702E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F72F4

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

Preview Lab → · Contrast checker → · Palette generator →

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