#5894F7#5894F7

#5894F7 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.2% C 0.160 H 259.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5894F7
RGBrgb(88, 148, 247)
HSLhsl(217, 91%, 66%)
HSVhsv(217, 64%, 97%)
CMYKcmyk(64.4%, 40.1%, 0%, 3.1%)
CIE-LABlab(61.63, 11.04, -55.31)
CIE-LCHlch(61.63, 56.40, 281.29°)
OKLaboklab(67.25% -0.0281 -0.1576)
OKLCHoklch(67.25% 0.16 259.9)
XYZxyz(31.3969, 29.9669, 92.1072)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5894F7 #F7BB58
analogous
#58E4F7 #5894F7 #6B58F7
triadic
#5894F7 #F75894 #94F758
tetradic
#5894F7 #F758E4 #F7BB58 #58F76B
square
#5894F7 #F758E4 #F7BB58 #58F76B
split-complementary
#5894F7 #F76B58 #E4F758
monochromatic
#0A53CB #1E6FF4 #5894F7 #92B9FA #CDDFFD

Accessibility & contrast

On white

3.00
#5894F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5894F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5894F7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5894F7#FFFFFF#000000##000000
##5894F71.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#4F8EF5
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5894f7;
/* rgb */ color: rgb(88, 148, 247);
/* oklch */ color: oklch(67.2% 0.160 259.9);
Tailwind
colors: {
  custom: {
    50: '#96b2fa',
    500: '#5894f7',
    950: '#000000',
  },
}
SCSS
$custom: #5894f7;
$custom-light: #96b2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5894f7",
  "rgb": {
    "r": 88,
    "g": 148,
    "b": 247
  },
  "hsl": {
    "h": 217.358,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67249,
    "c": 0.16006,
    "h": 259.9
  },
  "luminance": 0.2997
}

Semantic roles & 50–950 ramp

primary
#5894F7
secondary
#F0DCBB
accent
#8F00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5894F7

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

Preview Lab → · Contrast checker → · Palette generator →

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