#5896FB#5896FB

#5896FB is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.9% C 0.163 H 259.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5896FB
RGBrgb(88, 150, 251)
HSLhsl(217, 95%, 66%)
HSVhsv(217, 65%, 98%)
CMYKcmyk(64.9%, 40.2%, 0%, 1.6%)
CIE-LABlab(62.38, 11.21, -56.31)
CIE-LCHlch(62.38, 57.41, 281.26°)
OKLaboklab(67.9% -0.0292 -0.1604)
OKLCHoklch(67.9% 0.163 259.7)
XYZxyz(32.3372, 30.8493, 95.4984)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5896FB #FBBD58
analogous
#58E8FB #5896FB #6C58FB
triadic
#5896FB #FB5896 #96FB58
tetradic
#5896FB #FB58E8 #FBBD58 #58FB6C
square
#5896FB #FB58E8 #FBBD58 #58FB6C
split-complementary
#5896FB #FB6C58 #E8FB58
monochromatic
#0554D4 #1C70FA #5896FB #94BCFC #D0E1FE

Accessibility & contrast

On white

2.93
#5896FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#5896FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5896FB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5896FB#FFFFFF#000000##000000
##5896FB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5896fb;
/* rgb */ color: rgb(88, 150, 251);
/* oklch */ color: oklch(67.9% 0.163 259.7);
Tailwind
colors: {
  custom: {
    50: '#96b4fd',
    500: '#5896fb',
    950: '#000000',
  },
}
SCSS
$custom: #5896fb;
$custom-light: #96b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5896fb",
  "rgb": {
    "r": 88,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 217.178,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67903,
    "c": 0.16309,
    "h": 259.7
  },
  "luminance": 0.30852
}

Semantic roles & 50–950 ramp

primary
#5896FB
secondary
#F2DEBD
accent
#8E00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5896FB

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

Preview Lab → · Contrast checker → · Palette generator →

#5896FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva