#5896FC#5896FC

#5896FC is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.0% C 0.164 H 259.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5896FC
RGBrgb(88, 150, 252)
HSLhsl(217, 96%, 67%)
HSVhsv(217, 65%, 99%)
CMYKcmyk(65.1%, 40.5%, 0%, 1.2%)
CIE-LABlab(62.43, 11.54, -56.77)
CIE-LCHlch(62.43, 57.93, 281.50°)
OKLaboklab(67.96% -0.029 -0.1618)
OKLCHoklch(67.96% 0.164 259.8)
XYZxyz(32.4953, 30.9125, 96.3308)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5896FC #FCBE58
analogous
#58E8FC #5896FC #6C58FC
triadic
#5896FC #FC5896 #96FC58
tetradic
#5896FC #FC58E8 #FCBE58 #58FC6C
square
#5896FC #FC58E8 #FCBE58 #58FC6C
split-complementary
#5896FC #FC6C58 #E8FC58
monochromatic
#0453D6 #1C70FB #5896FC #94BCFD #D0E2FE

Accessibility & contrast

On white

2.92
#5896FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5896FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5896FC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5896FC#FFFFFF#000000##000000
##5896FC1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#00ADBD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5896fc;
/* rgb */ color: rgb(88, 150, 252);
/* oklch */ color: oklch(68.0% 0.164 259.8);
Tailwind
colors: {
  custom: {
    50: '#96b4fe',
    500: '#5896fc',
    950: '#000000',
  },
}
SCSS
$custom: #5896fc;
$custom-light: #96b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5896fc",
  "rgb": {
    "r": 88,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 217.317,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67962,
    "c": 0.16439,
    "h": 259.8
  },
  "luminance": 0.30916
}

Semantic roles & 50–950 ramp

primary
#5896FC
secondary
#F2DEBD
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5896FC

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

Preview Lab → · Contrast checker → · Palette generator →

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