#5896F6#5896F6

#5896F6 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.6% C 0.157 H 258.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5896F6
RGBrgb(88, 150, 246)
HSLhsl(216, 90%, 65%)
HSVhsv(216, 64%, 96%)
CMYKcmyk(64.2%, 39%, 0%, 3.5%)
CIE-LABlab(62.12, 9.53, -53.98)
CIE-LCHlch(62.12, 54.82, 280.01°)
OKLaboklab(67.61% -0.0302 -0.1536)
OKLCHoklch(67.61% 0.157 258.9)
XYZxyz(31.5595, 30.5382, 91.4022)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5896F6 #F6B858
analogous
#58E5F6 #5896F6 #6958F6
triadic
#5896F6 #F65896 #96F658
tetradic
#5896F6 #F658E5 #F6B858 #58F669
square
#5896F6 #F658E5 #F6B858 #58F669
split-complementary
#5896F6 #F66958 #E5F658
monochromatic
#0B55C9 #1E71F3 #5896F6 #92BBF9 #CCDFFC

Accessibility & contrast

On white

2.95
#5896F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5896F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5896F6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5896F6#FFFFFF#000000##000000
##5896F61.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFA
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5896f6;
/* rgb */ color: rgb(88, 150, 246);
/* oklch */ color: oklch(67.6% 0.157 258.9);
Tailwind
colors: {
  custom: {
    50: '#95b4f9',
    500: '#5896f6',
    950: '#000000',
  },
}
SCSS
$custom: #5896f6;
$custom-light: #95b4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5896f6",
  "rgb": {
    "r": 88,
    "g": 150,
    "b": 246
  },
  "hsl": {
    "h": 216.456,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67612,
    "c": 0.15659,
    "h": 258.9
  },
  "luminance": 0.30541
}

Semantic roles & 50–950 ramp

primary
#5896F6
secondary
#EFDBBA
accent
#8B00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5896F6

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

Preview Lab → · Contrast checker → · Palette generator →

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