#5895F2#5895F2

#5895F2 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.2% C 0.152 H 258.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5895F2
RGBrgb(88, 149, 242)
HSLhsl(216, 86%, 65%)
HSVhsv(216, 64%, 95%)
CMYKcmyk(63.6%, 38.4%, 0%, 5.1%)
CIE-LABlab(61.63, 8.77, -52.55)
CIE-LCHlch(61.63, 53.28, 279.48°)
OKLaboklab(67.17% -0.0301 -0.1494)
OKLCHoklch(67.17% 0.152 258.6)
XYZxyz(30.7932, 29.9775, 88.1506)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5895F2 #F2B558
analogous
#58E2F2 #5895F2 #6858F2
triadic
#5895F2 #F25895 #95F258
tetradic
#5895F2 #F258E2 #F2B558 #58F268
square
#5895F2 #F258E2 #F2B558 #58F268
split-complementary
#5895F2 #F26858 #E2F258
monochromatic
#0F55C1 #1F71EE #5895F2 #91B9F6 #CADDFB

Accessibility & contrast

On white

3.00
#5895F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5895F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5895F2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5895F2#FFFFFF#000000##000000
##5895F21.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5895f2;
/* rgb */ color: rgb(88, 149, 242);
/* oklch */ color: oklch(67.2% 0.152 258.6);
Tailwind
colors: {
  custom: {
    50: '#95b3f7',
    500: '#5895f2',
    950: '#000000',
  },
}
SCSS
$custom: #5895f2;
$custom-light: #95b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5895f2",
  "rgb": {
    "r": 88,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 216.234,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67171,
    "c": 0.15246,
    "h": 258.6
  },
  "luminance": 0.2998
}

Semantic roles & 50–950 ramp

primary
#5895F2
secondary
#EDD8B8
accent
#8A03E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5895F2

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

Preview Lab → · Contrast checker → · Palette generator →

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