#5874DB#5874DB

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

Color values

HEX#5874DB
RGBrgb(88, 116, 219)
HSLhsl(227, 65%, 60%)
HSVhsv(227, 60%, 86%)
CMYKcmyk(59.8%, 47%, 0%, 14.1%)
CIE-LABlab(51.47, 20.99, -55.94)
CIE-LCHlch(51.47, 59.75, 290.56°)
OKLaboklab(58.93% -0.0013 -0.1598)
OKLCHoklch(58.93% 0.16 269.5)
XYZxyz(23.0518, 19.6781, 69.5876)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5874DB #DBBF58
analogous
#58B5DB #5874DB #7E58DB
triadic
#5874DB #DB5874 #74DB58
tetradic
#5874DB #DB58B5 #DBBF58 #58DB7E
square
#5874DB #DB58B5 #DBBF58 #58DB7E
split-complementary
#5874DB #DB7E58 #B5DB58
monochromatic
#213A98 #2C4DCA #5874DB #8A9EE6 #BDC8F1

Accessibility & contrast

On white

4.25
#5874DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5874DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5874DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5874DB#FFFFFF#000000##000000
##5874DB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5874db;
/* rgb */ color: rgb(88, 116, 219);
/* oklch */ color: oklch(58.9% 0.160 269.5);
Tailwind
colors: {
  custom: {
    50: '#929be7',
    500: '#5874db',
    950: '#000000',
  },
}
SCSS
$custom: #5874db;
$custom-light: #929be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5874db",
  "rgb": {
    "r": 88,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 227.176,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58933,
    "c": 0.15983,
    "h": 269.5
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#5874DB
secondary
#E1D6AE
accent
#A619CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5874DB

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

Preview Lab → · Contrast checker → · Palette generator →

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