#5873BF#5873BF

#5873BF is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.0% C 0.122 H 267.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5873BF
RGBrgb(88, 115, 191)
HSLhsl(224, 45%, 55%)
HSVhsv(224, 54%, 75%)
CMYKcmyk(53.9%, 39.8%, 0%, 25.1%)
CIE-LABlab(49.61, 12.36, -42.95)
CIE-LCHlch(49.61, 44.69, 286.06°)
OKLaboklab(56.99% -0.0049 -0.1217)
OKLCHoklch(56.99% 0.122 267.7)
XYZxyz(19.5561, 18.0964, 51.7425)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5873BF #BFA458
analogous
#58A7BF #5873BF #7158BF
triadic
#5873BF #BF5873 #73BF58
tetradic
#5873BF #BF58A7 #BFA458 #58BF71
square
#5873BF #BF58A7 #BFA458 #58BF71
split-complementary
#5873BF #BF7158 #A7BF58
monochromatic
#2B3E71 #3C569D #5873BF #8498D0 #B0BDE1

Accessibility & contrast

On white

4.55
#5873BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5873BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5873BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5873BF#FFFFFF#000000##000000
##5873BF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#228390
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5873bf;
/* rgb */ color: rgb(88, 115, 191);
/* oklch */ color: oklch(57.0% 0.122 267.7);
Tailwind
colors: {
  custom: {
    50: '#8e9bd3',
    500: '#5873bf',
    950: '#000000',
  },
}
SCSS
$custom: #5873bf;
$custom-light: #8e9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5873bf",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 224.272,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.12181,
    "h": 267.7
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#5873BF
secondary
#CFC4A4
accent
#B354D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5873BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5873BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva