#5874BF#5874BF

#5874BF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.121 H 267.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5874BF
RGBrgb(88, 116, 191)
HSLhsl(224, 45%, 55%)
HSVhsv(224, 54%, 75%)
CMYKcmyk(53.9%, 39.3%, 0%, 25.1%)
CIE-LABlab(49.89, 11.75, -42.51)
CIE-LCHlch(49.89, 44.10, 285.45°)
OKLaboklab(57.21% -0.0061 -0.1204)
OKLCHoklch(57.21% 0.121 267.1)
XYZxyz(19.6707, 18.3257, 51.7808)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874BF #BFA358
analogous
#58A8BF #5874BF #6F58BF
triadic
#5874BF #BF5874 #74BF58
tetradic
#5874BF #BF58A8 #BFA358 #58BF6F
square
#5874BF #BF58A8 #BFA358 #58BF6F
split-complementary
#5874BF #BF6F58 #A8BF58
monochromatic
#2B3E71 #3C579D #5874BF #8499D0 #B0BEE1

Accessibility & contrast

On white

4.50
#5874BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5874BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874BF#FFFFFF#000000##000000
##5874BF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#228490
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5874bf;
/* rgb */ color: rgb(88, 116, 191);
/* oklch */ color: oklch(57.2% 0.121 267.1);
Tailwind
colors: {
  custom: {
    50: '#8e9bd3',
    500: '#5874bf',
    950: '#000000',
  },
}
SCSS
$custom: #5874bf;
$custom-light: #8e9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5874bf",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 223.689,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.12057,
    "h": 267.1
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#5874BF
secondary
#CFC3A4
accent
#B154D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5874BF

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

Preview Lab → · Contrast checker → · Palette generator →

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