#5F72DC#5F72DC

#5F72DC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.0% C 0.162 H 272.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5F72DC
RGBrgb(95, 114, 220)
HSLhsl(231, 64%, 62%)
HSVhsv(231, 57%, 86%)
CMYKcmyk(56.8%, 48.2%, 0%, 13.7%)
CIE-LABlab(51.42, 23.89, -56.57)
CIE-LCHlch(51.42, 61.41, 292.89°)
OKLaboklab(59.02% 0.008 -0.1615)
OKLCHoklch(59.02% 0.162 272.8)
XYZxyz(23.6507, 19.6331, 70.2395)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72DC #DCC95F
analogous
#5FB1DC #5F72DC #8B5FDC
triadic
#5F72DC #DC5F72 #72DC5F
tetradic
#5F72DC #DC5FB1 #DCC95F #5FDC8B
square
#5F72DC #DC5FB1 #DCC95F #5FDC8B
split-complementary
#5F72DC #DC8B5F #B1DC5F
monochromatic
#23359E #2E46D0 #5F72DC #919EE7 #C3CBF2

Accessibility & contrast

On white

4.26
#5F72DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5F72DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72DC#FFFFFF#000000##000000
##5F72DC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#2B75DA
Tritanopia (blue-blind)
#098A9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f72dc;
/* rgb */ color: rgb(95, 114, 220);
/* oklch */ color: oklch(59.0% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#969ae7',
    500: '#5f72dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f72dc;
$custom-light: #969ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72dc",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 230.88,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.16173,
    "h": 272.8
  },
  "luminance": 0.19635
}

Semantic roles & 50–950 ramp

primary
#5F72DC
secondary
#E3DCB4
accent
#B11ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F72DC

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

Preview Lab → · Contrast checker → · Palette generator →

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