#5874BA#5874BA

#5874BA is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.9% C 0.113 H 266.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5874BA
RGBrgb(88, 116, 186)
HSLhsl(223, 42%, 54%)
HSVhsv(223, 53%, 73%)
CMYKcmyk(52.7%, 37.6%, 0%, 27.1%)
CIE-LABlab(49.63, 10.14, -40.04)
CIE-LCHlch(49.63, 41.30, 284.21°)
OKLaboklab(56.92% -0.0072 -0.1132)
OKLCHoklch(56.92% 0.113 266.4)
XYZxyz(19.1299, 18.1093, 48.9322)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874BA #BA9E58
analogous
#58A5BA #5874BA #6D58BA
triadic
#5874BA #BA5874 #74BA58
tetradic
#5874BA #BA58A5 #BA9E58 #58BA6D
square
#5874BA #BA58A5 #BA9E58 #58BA6D
split-complementary
#5874BA #BA6D58 #A5BA58
monochromatic
#2C3E6B #3E5797 #5874BA #8398CC #AFBCDE

Accessibility & contrast

On white

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

On black

4.62
#5874BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874BA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874BA#FFFFFF#000000##000000
##5874BA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBD
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#28838E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5874ba;
/* rgb */ color: rgb(88, 116, 186);
/* oklch */ color: oklch(56.9% 0.113 266.4);
Tailwind
colors: {
  custom: {
    50: '#8d9bcf',
    500: '#5874ba',
    950: '#000000',
  },
}
SCSS
$custom: #5874ba;
$custom-light: #8d9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5874ba",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 222.857,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.11344,
    "h": 266.4
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#5874BA
secondary
#CCC0A2
accent
#AE56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5874BA

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

Preview Lab → · Contrast checker → · Palette generator →

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