#5895EB#5895EB

#5895EB is a light, vivid blue. Relative luminance 0.296; OKLCH L 66.8% C 0.143 H 257.2°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5895EB
RGBrgb(88, 149, 235)
HSLhsl(215, 79%, 63%)
HSVhsv(215, 63%, 92%)
CMYKcmyk(62.6%, 36.6%, 0%, 7.8%)
CIE-LABlab(61.28, 6.44, -49.26)
CIE-LCHlch(61.28, 49.68, 277.45°)
OKLaboklab(66.78% -0.0317 -0.1398)
OKLCHoklch(66.78% 0.143 257.2)
XYZxyz(29.7620, 29.5650, 82.7193)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5895EB #EBAE58
analogous
#58DFEB #5895EB #6458EB
triadic
#5895EB #EB5895 #95EB58
tetradic
#5895EB #EB58DF #EBAE58 #58EB64
square
#5895EB #EB58DF #EBAE58 #58EB64
split-complementary
#5895EB #EB6458 #DFEB58
monochromatic
#1557B3 #2172E4 #5895EB #8FB8F2 #C5DAF8

Accessibility & contrast

On white

3.04
#5895EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#5895EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5895EB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5895EB#FFFFFF#000000##000000
##5895EB1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEF
Deuteranopia (green-blind)
#5B8EE9
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5895eb;
/* rgb */ color: rgb(88, 149, 235);
/* oklch */ color: oklch(66.8% 0.143 257.2);
Tailwind
colors: {
  custom: {
    50: '#94b3f2',
    500: '#5895eb',
    950: '#000000',
  },
}
SCSS
$custom: #5895eb;
$custom-light: #94b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5895eb",
  "rgb": {
    "r": 88,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 215.102,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66776,
    "c": 0.14336,
    "h": 257.2
  },
  "luminance": 0.29568
}

Semantic roles & 50–950 ramp

primary
#5895EB
secondary
#EAD4B5
accent
#840BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5895EB

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

Preview Lab → · Contrast checker → · Palette generator →

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