#5895ED#5895ED

#5895ED is a light, vivid blue. Relative luminance 0.297; OKLCH L 66.9% C 0.146 H 257.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5895ED
RGBrgb(88, 149, 237)
HSLhsl(215, 81%, 64%)
HSVhsv(215, 63%, 93%)
CMYKcmyk(62.9%, 37.1%, 0%, 7.1%)
CIE-LABlab(61.38, 7.10, -50.20)
CIE-LCHlch(61.38, 50.70, 278.05°)
OKLaboklab(66.89% -0.0312 -0.1426)
OKLCHoklch(66.89% 0.146 257.6)
XYZxyz(30.0525, 29.6812, 84.2496)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5895ED #EDB058
analogous
#58E0ED #5895ED #6558ED
triadic
#5895ED #ED5895 #95ED58
tetradic
#5895ED #ED58E0 #EDB058 #58ED65
square
#5895ED #ED58E0 #EDB058 #58ED65
split-complementary
#5895ED #ED6558 #E0ED58
monochromatic
#1457B7 #2172E7 #5895ED #8FB8F3 #C6DBF9

Accessibility & contrast

On white

3.03
#5895ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5895ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5895ED
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5895ED#FFFFFF#000000##000000
##5895ED1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5895ed;
/* rgb */ color: rgb(88, 149, 237);
/* oklch */ color: oklch(66.9% 0.146 257.6);
Tailwind
colors: {
  custom: {
    50: '#94b3f3',
    500: '#5895ed',
    950: '#000000',
  },
}
SCSS
$custom: #5895ed;
$custom-light: #94b3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5895ed",
  "rgb": {
    "r": 88,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 215.436,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66888,
    "c": 0.14596,
    "h": 257.6
  },
  "luminance": 0.29684
}

Semantic roles & 50–950 ramp

primary
#5895ED
secondary
#EBD5B6
accent
#8609DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5895ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5895ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva