#5F72BB#5F72BB

#5F72BB is a mid, moderate blue. Relative luminance 0.181; OKLCH L 57.0% C 0.115 H 271.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5F72BB
RGBrgb(95, 114, 187)
HSLhsl(228, 40%, 55%)
HSVhsv(228, 49%, 73%)
CMYKcmyk(49.2%, 39%, 0%, 26.7%)
CIE-LABlab(49.56, 13.32, -40.70)
CIE-LCHlch(49.56, 42.82, 288.13°)
OKLaboklab(57% 0.0027 -0.115)
OKLCHoklch(57% 0.115 271.3)
XYZxyz(19.7034, 18.0542, 49.4506)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72BB #BBA85F
analogous
#5FA0BB #5F72BB #7A5FBB
triadic
#5F72BB #BB5F72 #72BB5F
tetradic
#5F72BB #BB5FA0 #BBA85F #5FBB7A
square
#5F72BB #BB5FA0 #BBA85F #5FBB7A
split-complementary
#5F72BB #BB7A5F #A0BB5F
monochromatic
#303D70 #42549B #5F72BB #8A98CD #B5BEE0

Accessibility & contrast

On white

4.55
#5F72BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5F72BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72BB#FFFFFF#000000##000000
##5F72BB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#3A818D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f72bb;
/* rgb */ color: rgb(95, 114, 187);
/* oklch */ color: oklch(57.0% 0.115 271.3);
Tailwind
colors: {
  custom: {
    50: '#929ad0',
    500: '#5f72bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f72bb;
$custom-light: #929ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72bb",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 227.609,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57,
    "c": 0.11502,
    "h": 271.3
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#5F72BB
secondary
#CEC6A8
accent
#B758D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F72BB

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

Preview Lab → · Contrast checker → · Palette generator →

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