#5891F2#5891F2

#5891F2 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.3% C 0.157 H 260.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5891F2
RGBrgb(88, 145, 242)
HSLhsl(218, 86%, 65%)
HSVhsv(218, 64%, 95%)
CMYKcmyk(63.6%, 40.1%, 0%, 5.1%)
CIE-LABlab(60.55, 11.14, -54.28)
CIE-LCHlch(60.55, 55.41, 281.60°)
OKLaboklab(66.33% -0.0262 -0.1546)
OKLCHoklch(66.33% 0.157 260.4)
XYZxyz(30.1712, 28.7334, 87.9433)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5891F2 #F2B958
analogous
#58DEF2 #5891F2 #6C58F2
triadic
#5891F2 #F25891 #91F258
tetradic
#5891F2 #F258DE #F2B958 #58F26C
square
#5891F2 #F258DE #F2B958 #58F26C
split-complementary
#5891F2 #F26C58 #DEF258
monochromatic
#0F51C1 #1F6CEE #5891F2 #91B6F6 #CADCFB

Accessibility & contrast

On white

3.11
#5891F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#5891F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5891F2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5891F2#FFFFFF#000000##000000
##5891F21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#4E8BF0
Tritanopia (blue-blind)
#00A7B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5891f2;
/* rgb */ color: rgb(88, 145, 242);
/* oklch */ color: oklch(66.3% 0.157 260.4);
Tailwind
colors: {
  custom: {
    50: '#95b0f7',
    500: '#5891f2',
    950: '#000000',
  },
}
SCSS
$custom: #5891f2;
$custom-light: #95b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5891f2",
  "rgb": {
    "r": 88,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 217.792,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66326,
    "c": 0.15679,
    "h": 260.4
  },
  "luminance": 0.28736
}

Semantic roles & 50–950 ramp

primary
#5891F2
secondary
#EDDAB8
accent
#9003E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5891F2

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

Preview Lab → · Contrast checker → · Palette generator →

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