#5874DA#5874DA

#5874DA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.158 H 269.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5874DA
RGBrgb(88, 116, 218)
HSLhsl(227, 64%, 60%)
HSVhsv(227, 60%, 85%)
CMYKcmyk(59.6%, 46.8%, 0%, 14.5%)
CIE-LABlab(51.41, 20.65, -55.48)
CIE-LCHlch(51.41, 59.20, 290.42°)
OKLaboklab(58.87% -0.0014 -0.1584)
OKLCHoklch(58.87% 0.158 269.5)
XYZxyz(22.9205, 19.6256, 68.8963)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874DA #DABE58
analogous
#58B5DA #5874DA #7D58DA
triadic
#5874DA #DA5874 #74DA58
tetradic
#5874DA #DA58B5 #DABE58 #58DA7D
square
#5874DA #DA58B5 #DABE58 #58DA7D
split-complementary
#5874DA #DA7D58 #B5DA58
monochromatic
#213B96 #2C4EC8 #5874DA #8A9EE5 #BCC7F0

Accessibility & contrast

On white

4.26
#5874DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5874DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874DA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874DA#FFFFFF#000000##000000
##5874DA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DE
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5874da;
/* rgb */ color: rgb(88, 116, 218);
/* oklch */ color: oklch(58.9% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#929be6',
    500: '#5874da',
    950: '#000000',
  },
}
SCSS
$custom: #5874da;
$custom-light: #929be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5874da",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 227.077,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.15846,
    "h": 269.5
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#5874DA
secondary
#E0D5AE
accent
#C341E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5874DA

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

Preview Lab → · Contrast checker → · Palette generator →

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