#5894F5#5894F5

#5894F5 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.1% C 0.157 H 259.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5894F5
RGBrgb(88, 148, 245)
HSLhsl(217, 89%, 65%)
HSVhsv(217, 64%, 96%)
CMYKcmyk(64.1%, 39.6%, 0%, 3.9%)
CIE-LABlab(61.52, 10.37, -54.38)
CIE-LCHlch(61.52, 55.36, 280.80°)
OKLaboklab(67.13% -0.0285 -0.1548)
OKLCHoklch(67.13% 0.157 259.6)
XYZxyz(31.0900, 29.8441, 90.4905)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5894F5 #F5B958
analogous
#58E3F5 #5894F5 #6A58F5
triadic
#5894F5 #F55894 #94F558
tetradic
#5894F5 #F558E3 #F5B958 #58F56A
square
#5894F5 #F558E3 #F5B958 #58F56A
split-complementary
#5894F5 #F56A58 #E3F558
monochromatic
#0C53C7 #1E6FF2 #5894F5 #92B9F8 #CBDEFC

Accessibility & contrast

On white

3.01
#5894F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5894F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5894F5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5894F5#FFFFFF#000000##000000
##5894F51.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#518EF3
Tritanopia (blue-blind)
#00AAB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5894f5;
/* rgb */ color: rgb(88, 148, 245);
/* oklch */ color: oklch(67.1% 0.157 259.6);
Tailwind
colors: {
  custom: {
    50: '#95b2f9',
    500: '#5894f5',
    950: '#000000',
  },
}
SCSS
$custom: #5894f5;
$custom-light: #95b2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5894f5",
  "rgb": {
    "r": 88,
    "g": 148,
    "b": 245
  },
  "hsl": {
    "h": 217.07,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67132,
    "c": 0.15744,
    "h": 259.6
  },
  "luminance": 0.29847
}

Semantic roles & 50–950 ramp

primary
#5894F5
secondary
#EFDBBA
accent
#8E00E5
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5894F5

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

Preview Lab → · Contrast checker → · Palette generator →

#5894F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva