#5E87DB#5E87DB

#5E87DB is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.2% C 0.135 H 263.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5E87DB
RGBrgb(94, 135, 219)
HSLhsl(220, 63%, 61%)
HSVhsv(220, 57%, 86%)
CMYKcmyk(57.1%, 38.4%, 0%, 14.1%)
CIE-LABlab(56.90, 10.61, -47.27)
CIE-LCHlch(56.90, 48.45, 282.65°)
OKLaboklab(63.19% -0.0156 -0.1341)
OKLCHoklch(63.19% 0.135 263.4)
XYZxyz(26.0619, 24.8200, 70.4214)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87DB #DBB25E
analogous
#5EC6DB #5E87DB #745EDB
triadic
#5E87DB #DB5E87 #87DB5E
tetradic
#5E87DB #DB5EC6 #DBB25E #5EDB74
square
#5E87DB #DB5EC6 #DBB25E #5EDB74
split-complementary
#5E87DB #DB745E #C6DB5E
monochromatic
#234A9C #2E62CE #5E87DB #90ACE6 #C2D2F1

Accessibility & contrast

On white

3.52
#5E87DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5E87DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87DB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87DB#FFFFFF#000000##000000
##5E87DB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDE
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e87db;
/* rgb */ color: rgb(94, 135, 219);
/* oklch */ color: oklch(63.2% 0.135 263.4);
Tailwind
colors: {
  custom: {
    50: '#95a9e6',
    500: '#5e87db',
    950: '#000000',
  },
}
SCSS
$custom: #5e87db;
$custom-light: #95a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87db",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 220.32,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63188,
    "c": 0.13496,
    "h": 263.4
  },
  "luminance": 0.24822
}

Semantic roles & 50–950 ramp

primary
#5E87DB
secondary
#E2D2B3
accent
#911ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E87DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5E87DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva