#5896F2#5896F2

#5896F2 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.151 H 258.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5896F2
RGBrgb(88, 150, 242)
HSLhsl(216, 86%, 65%)
HSVhsv(216, 64%, 95%)
CMYKcmyk(63.6%, 38%, 0%, 5.1%)
CIE-LABlab(61.91, 8.19, -52.12)
CIE-LCHlch(61.91, 52.75, 278.93°)
OKLaboklab(67.38% -0.0311 -0.1482)
OKLCHoklch(67.38% 0.151 258.1)
XYZxyz(30.9521, 30.2952, 88.2036)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5896F2 #F2B458
analogous
#58E3F2 #5896F2 #6758F2
triadic
#5896F2 #F25896 #96F258
tetradic
#5896F2 #F258E3 #F2B458 #58F267
square
#5896F2 #F258E3 #F2B458 #58F267
split-complementary
#5896F2 #F26758 #E3F258
monochromatic
#0F57C1 #1F72EE #5896F2 #91BAF6 #CADDFB

Accessibility & contrast

On white

2.97
#5896F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5896F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5896F2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5896F2#FFFFFF#000000##000000
##5896F21.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5896f2;
/* rgb */ color: rgb(88, 150, 242);
/* oklch */ color: oklch(67.4% 0.151 258.1);
Tailwind
colors: {
  custom: {
    50: '#95b4f7',
    500: '#5896f2',
    950: '#000000',
  },
}
SCSS
$custom: #5896f2;
$custom-light: #95b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5896f2",
  "rgb": {
    "r": 88,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 215.844,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67383,
    "c": 0.1514,
    "h": 258.1
  },
  "luminance": 0.30298
}

Semantic roles & 50–950 ramp

primary
#5896F2
secondary
#EDD8B8
accent
#8803E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5896F2

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

Preview Lab → · Contrast checker → · Palette generator →

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