#5874BC#5874BC

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

Color values

HEX#5874BC
RGBrgb(88, 116, 188)
HSLhsl(223, 43%, 54%)
HSVhsv(223, 53%, 74%)
CMYKcmyk(53.2%, 38.3%, 0%, 26.3%)
CIE-LABlab(49.73, 10.78, -41.03)
CIE-LCHlch(49.73, 42.42, 284.72°)
OKLaboklab(57.03% -0.0067 -0.1161)
OKLCHoklch(57.03% 0.116 266.7)
XYZxyz(19.3440, 18.1949, 50.0598)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874BC #BCA058
analogous
#58A6BC #5874BC #6E58BC
triadic
#5874BC #BC5874 #74BC58
tetradic
#5874BC #BC58A6 #BCA058 #58BC6E
square
#5874BC #BC58A6 #BCA058 #58BC6E
split-complementary
#5874BC #BC6E58 #A6BC58
monochromatic
#2C3E6E #3E5799 #5874BC #8498CE #AFBDDF

Accessibility & contrast

On white

4.53
#5874BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5874BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874BC#FFFFFF#000000##000000
##5874BC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBF
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#26848F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5874bc;
/* rgb */ color: rgb(88, 116, 188);
/* oklch */ color: oklch(57.0% 0.116 266.7);
Tailwind
colors: {
  custom: {
    50: '#8e9bd0',
    500: '#5874bc',
    950: '#000000',
  },
}
SCSS
$custom: #5874bc;
$custom-light: #8e9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5874bc",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 223.2,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.11629,
    "h": 266.7
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

primary
#5874BC
secondary
#CDC1A3
accent
#AF55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5874BC

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

Preview Lab → · Contrast checker → · Palette generator →

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