#5896F9#5896F9

#5896F9 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.8% C 0.160 H 259.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5896F9
RGBrgb(88, 150, 249)
HSLhsl(217, 93%, 66%)
HSVhsv(217, 65%, 98%)
CMYKcmyk(64.7%, 39.8%, 0%, 2.4%)
CIE-LABlab(62.27, 10.53, -55.38)
CIE-LCHlch(62.27, 56.37, 280.77°)
OKLaboklab(67.79% -0.0296 -0.1577)
OKLCHoklch(67.79% 0.16 259.4)
XYZxyz(32.0236, 30.7238, 93.8468)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5896F9 #F9BB58
analogous
#58E7F9 #5896F9 #6A58F9
triadic
#5896F9 #F95896 #96F958
tetradic
#5896F9 #F958E7 #F9BB58 #58F96A
square
#5896F9 #F958E7 #F9BB58 #58F96A
split-complementary
#5896F9 #F96A58 #E7F958
monochromatic
#0754CF #1D71F7 #5896F9 #93BBFB #CEE0FD

Accessibility & contrast

On white

2.94
#5896F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5896F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5896F9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5896F9#FFFFFF#000000##000000
##5896F91.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5896f9;
/* rgb */ color: rgb(88, 150, 249);
/* oklch */ color: oklch(67.8% 0.160 259.4);
Tailwind
colors: {
  custom: {
    50: '#96b4fc',
    500: '#5896f9',
    950: '#000000',
  },
}
SCSS
$custom: #5896f9;
$custom-light: #96b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5896f9",
  "rgb": {
    "r": 88,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 216.894,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67786,
    "c": 0.16049,
    "h": 259.4
  },
  "luminance": 0.30727
}

Semantic roles & 50–950 ramp

primary
#5896F9
secondary
#F1DCBC
accent
#8D00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5896F9

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

Preview Lab → · Contrast checker → · Palette generator →

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