#5F72DD#5F72DD

#5F72DD is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.1% C 0.163 H 272.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5F72DD
RGBrgb(95, 114, 221)
HSLhsl(231, 65%, 62%)
HSVhsv(231, 57%, 87%)
CMYKcmyk(57%, 48.4%, 0%, 13.3%)
CIE-LABlab(51.48, 24.21, -57.04)
CIE-LCHlch(51.48, 61.96, 293.00°)
OKLaboklab(59.09% 0.0081 -0.1629)
OKLCHoklch(59.09% 0.163 272.9)
XYZxyz(23.7835, 19.6862, 70.9391)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72DD #DDCA5F
analogous
#5FB1DD #5F72DD #8B5FDD
triadic
#5F72DD #DD5F72 #72DD5F
tetradic
#5F72DD #DD5FB1 #DDCA5F #5FDD8B
square
#5F72DD #DD5FB1 #DDCA5F #5FDD8B
split-complementary
#5F72DD #DD8B5F #B1DD5F
monochromatic
#2235A0 #2D46D2 #5F72DD #919EE8 #C4CBF2

Accessibility & contrast

On white

4.25
#5F72DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5F72DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72DD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72DD#FFFFFF#000000##000000
##5F72DD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#2975DB
Tritanopia (blue-blind)
#058A9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f72dd;
/* rgb */ color: rgb(95, 114, 221);
/* oklch */ color: oklch(59.1% 0.163 272.9);
Tailwind
colors: {
  custom: {
    50: '#969ae8',
    500: '#5f72dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f72dd;
$custom-light: #969ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72dd",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 230.952,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.16311,
    "h": 272.9
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#5F72DD
secondary
#E3DCB5
accent
#B219CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F72DD

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

Preview Lab → · Contrast checker → · Palette generator →

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