#5895F3#5895F3

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

Color values

HEX#5895F3
RGBrgb(88, 149, 243)
HSLhsl(216, 87%, 65%)
HSVhsv(216, 64%, 95%)
CMYKcmyk(63.8%, 38.7%, 0%, 4.7%)
CIE-LABlab(61.69, 9.11, -53.02)
CIE-LCHlch(61.69, 53.79, 279.75°)
OKLaboklab(67.23% -0.0299 -0.1508)
OKLCHoklch(67.23% 0.154 258.8)
XYZxyz(30.9438, 30.0377, 88.9438)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5895F3 #F3B658
analogous
#58E3F3 #5895F3 #6958F3
triadic
#5895F3 #F35895 #95F358
tetradic
#5895F3 #F358E3 #F3B658 #58F369
square
#5895F3 #F358E3 #F3B658 #58F369
split-complementary
#5895F3 #F36958 #E3F358
monochromatic
#0E55C3 #1F71EF #5895F3 #91B9F7 #CADDFB

Accessibility & contrast

On white

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

On black

7.01
#5895F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5895F3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5895F3#FFFFFF#000000##000000
##5895F31.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#558EF1
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5895f3;
/* rgb */ color: rgb(88, 149, 243);
/* oklch */ color: oklch(67.2% 0.154 258.8);
Tailwind
colors: {
  custom: {
    50: '#95b3f7',
    500: '#5895f3',
    950: '#000000',
  },
}
SCSS
$custom: #5895f3;
$custom-light: #95b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5895f3",
  "rgb": {
    "r": 88,
    "g": 149,
    "b": 243
  },
  "hsl": {
    "h": 216.387,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.15376,
    "h": 258.8
  },
  "luminance": 0.30041
}

Semantic roles & 50–950 ramp

primary
#5895F3
secondary
#EED9B9
accent
#8B02E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5895F3

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

Preview Lab → · Contrast checker → · Palette generator →

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