#5895F4#5895F4

#5895F4 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.3% C 0.155 H 259.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5895F4
RGBrgb(88, 149, 244)
HSLhsl(217, 88%, 65%)
HSVhsv(217, 64%, 96%)
CMYKcmyk(63.9%, 38.9%, 0%, 4.3%)
CIE-LABlab(61.74, 9.44, -53.48)
CIE-LCHlch(61.74, 54.31, 280.01°)
OKLaboklab(67.29% -0.0297 -0.1522)
OKLCHoklch(67.29% 0.155 259)
XYZxyz(31.0953, 30.0983, 89.7412)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5895F4 #F4B758
analogous
#58E3F4 #5895F4 #6958F4
triadic
#5895F4 #F45895 #95F458
tetradic
#5895F4 #F458E3 #F4B758 #58F469
square
#5895F4 #F458E3 #F4B758 #58F469
split-complementary
#5895F4 #F46958 #E3F458
monochromatic
#0D55C5 #1F71F0 #5895F4 #91B9F8 #CBDEFC

Accessibility & contrast

On white

2.99
#5895F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#5895F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5895F4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5895F4#FFFFFF#000000##000000
##5895F41.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#548EF2
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5895f4;
/* rgb */ color: rgb(88, 149, 244);
/* oklch */ color: oklch(67.3% 0.155 259.0);
Tailwind
colors: {
  custom: {
    50: '#95b3f8',
    500: '#5895f4',
    950: '#000000',
  },
}
SCSS
$custom: #5895f4;
$custom-light: #95b3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5895f4",
  "rgb": {
    "r": 88,
    "g": 149,
    "b": 244
  },
  "hsl": {
    "h": 216.538,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.15506,
    "h": 259
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#5895F4
secondary
#EEDAB9
accent
#8B01E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5895F4

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

Preview Lab → · Contrast checker → · Palette generator →

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