#5F72CB#5F72CB

#5F72CB is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.138 H 272.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5F72CB
RGBrgb(95, 114, 203)
HSLhsl(229, 51%, 58%)
HSVhsv(229, 53%, 80%)
CMYKcmyk(53.2%, 43.8%, 0%, 20.4%)
CIE-LABlab(50.43, 18.39, -48.51)
CIE-LCHlch(50.43, 51.87, 290.76°)
OKLaboklab(57.94% 0.0057 -0.1378)
OKLCHoklch(57.94% 0.138 272.4)
XYZxyz(21.5126, 18.7779, 58.9792)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72CB #CBB85F
analogous
#5FA8CB #5F72CB #825FCB
triadic
#5F72CB #CB5F72 #72CB5F
tetradic
#5F72CB #CB5FA8 #CBB85F #5FCB82
square
#5F72CB #CB5FA8 #CBB85F #5FCB82
split-complementary
#5F72CB #CB825F #A8CB5F
monochromatic
#2B3B85 #3A4FB3 #5F72CB #8D9BDA #BBC3E9

Accessibility & contrast

On white

4.42
#5F72CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5F72CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72CB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72CB#FFFFFF#000000##000000
##5F72CB1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#2B8595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f72cb;
/* rgb */ color: rgb(95, 114, 203);
/* oklch */ color: oklch(57.9% 0.138 272.4);
Tailwind
colors: {
  custom: {
    50: '#949adb',
    500: '#5f72cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f72cb;
$custom-light: #949adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72cb",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 229.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.13797,
    "h": 272.4
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#5F72CB
secondary
#D8D1AD
accent
#C24DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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