#5868EB#5868EB

#5868EB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.7% C 0.196 H 273.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5868EB
RGBrgb(88, 104, 235)
HSLhsl(233, 79%, 63%)
HSVhsv(233, 63%, 92%)
CMYKcmyk(62.6%, 55.7%, 0%, 7.8%)
CIE-LABlab(49.46, 33.71, -68.20)
CIE-LCHlch(49.46, 76.07, 296.31°)
OKLaboklab(57.75% 0.0114 -0.196)
OKLCHoklch(57.75% 0.196 273.3)
XYZxyz(23.9652, 17.9715, 80.7871)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5868EB #EBDB58
analogous
#58B2EB #5868EB #9158EB
triadic
#5868EB #EB5868 #68EB58
tetradic
#5868EB #EB58B2 #EBDB58 #58EB91
square
#5868EB #EB58B2 #EBDB58 #58EB91
split-complementary
#5868EB #EB9158 #B2EB58
monochromatic
#1527B3 #2137E4 #5868EB #8F99F2 #C5CBF8

Accessibility & contrast

On white

4.57
#5868EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5868EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5868EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5868EB#FFFFFF#000000##000000
##5868EB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5868eb;
/* rgb */ color: rgb(88, 104, 235);
/* oklch */ color: oklch(57.7% 0.196 273.3);
Tailwind
colors: {
  custom: {
    50: '#9593f2',
    500: '#5868eb',
    950: '#000000',
  },
}
SCSS
$custom: #5868eb;
$custom-light: #9593f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5868eb",
  "rgb": {
    "r": 88,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 233.469,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.19634,
    "h": 273.3
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#5868EB
secondary
#EAE4B5
accent
#C40BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5868EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5868EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva