#5874CF#5874CF

#5874CF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.143 H 268.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5874CF
RGBrgb(88, 116, 207)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(57.5%, 44%, 0%, 18.8%)
CIE-LABlab(50.77, 17.00, -50.27)
CIE-LCHlch(50.77, 53.06, 288.68°)
OKLaboklab(58.17% -0.003 -0.1431)
OKLCHoklch(58.17% 0.143 268.8)
XYZxyz(21.5286, 19.0688, 61.5655)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874CF #CFB358
analogous
#58B0CF #5874CF #7758CF
triadic
#5874CF #CF5874 #74CF58
tetradic
#5874CF #CF58B0 #CFB358 #58CF77
square
#5874CF #CF58B0 #CFB358 #58CF77
split-complementary
#5874CF #CF7758 #B0CF58
monochromatic
#273D86 #3453B6 #5874CF #889CDD #B7C3EA

Accessibility & contrast

On white

4.36
#5874CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5874CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874CF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874CF#FFFFFF#000000##000000
##5874CF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5874cf;
/* rgb */ color: rgb(88, 116, 207);
/* oklch */ color: oklch(58.2% 0.143 268.8);
Tailwind
colors: {
  custom: {
    50: '#909bde',
    500: '#5874cf',
    950: '#000000',
  },
}
SCSS
$custom: #5874cf;
$custom-light: #909bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5874cf",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 225.882,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.14317,
    "h": 268.8
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#5874CF
secondary
#D9CEAA
accent
#BB49DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5874CF

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

Preview Lab → · Contrast checker → · Palette generator →

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