#5874BB#5874BB

#5874BB is a mid, moderate blue. Relative luminance 0.182; OKLCH L 57.0% C 0.115 H 266.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5874BB
RGBrgb(88, 116, 187)
HSLhsl(223, 42%, 54%)
HSVhsv(223, 53%, 73%)
CMYKcmyk(52.9%, 38%, 0%, 26.7%)
CIE-LABlab(49.68, 10.46, -40.54)
CIE-LCHlch(49.68, 41.86, 284.47°)
OKLaboklab(56.98% -0.007 -0.1146)
OKLCHoklch(56.98% 0.115 266.5)
XYZxyz(19.2366, 18.1520, 49.4941)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874BB #BB9F58
analogous
#58A6BB #5874BB #6E58BB
triadic
#5874BB #BB5874 #74BB58
tetradic
#5874BB #BB58A6 #BB9F58 #58BB6E
square
#5874BB #BB58A6 #BB9F58 #58BB6E
split-complementary
#5874BB #BB6E58 #A6BB58
monochromatic
#2C3E6C #3E5798 #5874BB #8398CD #AFBCDE

Accessibility & contrast

On white

4.54
#5874BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5874BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874BB#FFFFFF#000000##000000
##5874BB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#27838E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5874bb;
/* rgb */ color: rgb(88, 116, 187);
/* oklch */ color: oklch(57.0% 0.115 266.5);
Tailwind
colors: {
  custom: {
    50: '#8d9bd0',
    500: '#5874bb',
    950: '#000000',
  },
}
SCSS
$custom: #5874bb;
$custom-light: #8d9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5874bb",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 223.03,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56977,
    "c": 0.11486,
    "h": 266.5
  },
  "luminance": 0.18153
}

Semantic roles & 50–950 ramp

primary
#5874BB
secondary
#CDC1A2
accent
#AF56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5874BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5874BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva