#5B72BF#5B72BF

#5B72BF is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.122 H 269.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5B72BF
RGBrgb(91, 114, 191)
HSLhsl(226, 44%, 55%)
HSVhsv(226, 52%, 75%)
CMYKcmyk(52.4%, 40.3%, 0%, 25.1%)
CIE-LABlab(49.52, 13.65, -43.08)
CIE-LCHlch(49.52, 45.20, 287.58°)
OKLaboklab(56.97% -0.0007 -0.122)
OKLCHoklch(56.97% 0.122 269.7)
XYZxyz(19.7326, 18.0190, 51.7183)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72BF #BFA85B
analogous
#5BA4BF #5B72BF #765BBF
triadic
#5B72BF #BF5B72 #72BF5B
tetradic
#5B72BF #BF5BA4 #BFA85B #5BBF76
square
#5B72BF #BF5BA4 #BFA85B #5BBF76
split-complementary
#5B72BF #BF765B #A4BF5B
monochromatic
#2D3D73 #3E549F #5B72BF #8798D0 #B3BEE1

Accessibility & contrast

On white

4.56
#5B72BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5B72BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72BF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72BF#FFFFFF#000000##000000
##5B72BF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#2C838F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b72bf;
/* rgb */ color: rgb(91, 114, 191);
/* oklch */ color: oklch(57.0% 0.122 269.7);
Tailwind
colors: {
  custom: {
    50: '#909ad3',
    500: '#5b72bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b72bf;
$custom-light: #909ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72bf",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 226.2,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.12205,
    "h": 269.7
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#5B72BF
secondary
#D0C6A6
accent
#B654D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B72BF

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

Preview Lab → · Contrast checker → · Palette generator →

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