#5895F7#5895F7

#5895F7 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.5% C 0.159 H 259.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5895F7
RGBrgb(88, 149, 247)
HSLhsl(217, 91%, 66%)
HSVhsv(217, 64%, 97%)
CMYKcmyk(64.4%, 39.7%, 0%, 3.1%)
CIE-LABlab(61.90, 10.45, -54.88)
CIE-LCHlch(61.90, 55.87, 280.78°)
OKLaboklab(67.46% -0.0291 -0.1563)
OKLCHoklch(67.46% 0.159 259.5)
XYZxyz(31.5545, 30.2819, 92.1597)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5895F7 #F7BA58
analogous
#58E5F7 #5895F7 #6A58F7
triadic
#5895F7 #F75895 #95F758
tetradic
#5895F7 #F758E5 #F7BA58 #58F76A
square
#5895F7 #F758E5 #F7BA58 #58F76A
split-complementary
#5895F7 #F76A58 #E5F758
monochromatic
#0A54CB #1E70F4 #5895F7 #92BAFA #CDDFFD

Accessibility & contrast

On white

2.98
#5895F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5895F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5895F7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5895F7#FFFFFF#000000##000000
##5895F71.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5895f7;
/* rgb */ color: rgb(88, 149, 247);
/* oklch */ color: oklch(67.5% 0.159 259.5);
Tailwind
colors: {
  custom: {
    50: '#95b3fa',
    500: '#5895f7',
    950: '#000000',
  },
}
SCSS
$custom: #5895f7;
$custom-light: #95b3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5895f7",
  "rgb": {
    "r": 88,
    "g": 149,
    "b": 247
  },
  "hsl": {
    "h": 216.981,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67459,
    "c": 0.15897,
    "h": 259.5
  },
  "luminance": 0.30285
}

Semantic roles & 50–950 ramp

primary
#5895F7
secondary
#F0DCBB
accent
#8D00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5895F7

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

Preview Lab → · Contrast checker → · Palette generator →

#5895F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva