#5895FC#5895FC

#5895FC is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.8% C 0.165 H 260.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5895FC
RGBrgb(88, 149, 252)
HSLhsl(218, 96%, 67%)
HSVhsv(218, 65%, 99%)
CMYKcmyk(65.1%, 40.9%, 0%, 1.2%)
CIE-LABlab(62.16, 12.14, -57.20)
CIE-LCHlch(62.16, 58.47, 281.98°)
OKLaboklab(67.75% -0.0281 -0.1631)
OKLCHoklch(67.75% 0.165 260.2)
XYZxyz(32.3364, 30.5947, 96.2778)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5895FC #FCBF58
analogous
#58E7FC #5895FC #6D58FC
triadic
#5895FC #FC5895 #95FC58
tetradic
#5895FC #FC58E7 #FCBF58 #58FC6D
square
#5895FC #FC58E7 #FCBF58 #58FC6D
split-complementary
#5895FC #FC6D58 #E7FC58
monochromatic
#0452D6 #1C6FFB #5895FC #94BBFD #D0E1FE

Accessibility & contrast

On white

2.95
#5895FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#5895FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5895FC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5895FC#FFFFFF#000000##000000
##5895FC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5895fc;
/* rgb */ color: rgb(88, 149, 252);
/* oklch */ color: oklch(67.8% 0.165 260.2);
Tailwind
colors: {
  custom: {
    50: '#96b3fe',
    500: '#5895fc',
    950: '#000000',
  },
}
SCSS
$custom: #5895fc;
$custom-light: #96b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5895fc",
  "rgb": {
    "r": 88,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 217.683,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67753,
    "c": 0.16548,
    "h": 260.2
  },
  "luminance": 0.30598
}

Semantic roles & 50–950 ramp

primary
#5895FC
secondary
#F2DFBD
accent
#9000E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5895FC

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

Preview Lab → · Contrast checker → · Palette generator →

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