#5891FE#5891FE

#5891FE is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.0% C 0.173 H 262.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5891FE
RGBrgb(88, 145, 254)
HSLhsl(219, 99%, 67%)
HSVhsv(219, 65%, 100%)
CMYKcmyk(65.4%, 42.9%, 0%, 0.4%)
CIE-LABlab(61.20, 15.19, -59.83)
CIE-LCHlch(61.20, 61.73, 284.25°)
OKLaboklab(67.05% -0.0239 -0.1709)
OKLCHoklch(67.05% 0.173 262)
XYZxyz(32.0330, 29.4781, 97.7484)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5891FE #FEC558
analogous
#58E4FE #5891FE #7258FE
triadic
#5891FE #FE5891 #91FE58
tetradic
#5891FE #FE58E4 #FEC558 #58FE72
square
#5891FE #FE58E4 #FEC558 #58FE72
split-complementary
#5891FE #FE7258 #E4FE58
monochromatic
#014CDA #1B69FE #5891FE #95B9FE #D2E1FF

Accessibility & contrast

On white

3.05
#5891FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5891FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5891FE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5891FE#FFFFFF#000000##000000
##5891FE1.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#418DFC
Tritanopia (blue-blind)
#00AABB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5891fe;
/* rgb */ color: rgb(88, 145, 254);
/* oklch */ color: oklch(67.0% 0.173 262.0);
Tailwind
colors: {
  custom: {
    50: '#97b0ff',
    500: '#5891fe',
    950: '#000000',
  },
}
SCSS
$custom: #5891fe;
$custom-light: #97b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5891fe",
  "rgb": {
    "r": 88,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 219.398,
    "s": 98.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67045,
    "c": 0.17254,
    "h": 262
  },
  "luminance": 0.29481
}

Semantic roles & 50–950 ramp

primary
#5891FE
secondary
#F3E1BF
accent
#9700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5891FE

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

Preview Lab → · Contrast checker → · Palette generator →

#5891FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva