#5F89FF#5F89FF

#5F89FF is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.8% C 0.181 H 266.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5F89FF
RGBrgb(95, 137, 255)
HSLhsl(224, 100%, 69%)
HSVhsv(224, 63%, 100%)
CMYKcmyk(62.7%, 46.3%, 0%, 0%)
CIE-LABlab(59.47, 21.47, -63.13)
CIE-LCHlch(59.47, 66.68, 288.78°)
OKLaboklab(65.82% -0.0104 -0.1805)
OKLCHoklch(65.82% 0.181 266.7)
XYZxyz(31.7088, 27.5414, 98.2333)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89FF #FFD55F
analogous
#5FD9FF #5F89FF #855FFF
triadic
#5F89FF #FF5F89 #89FF5F
tetradic
#5F89FF #FF5FD9 #FFD55F #5FFF85
square
#5F89FF #FF5FD9 #FFD55F #5FFF85
split-complementary
#5F89FF #FF855F #D9FF5F
monochromatic
#003CE4 #225CFF #5F89FF #9CB6FF #D9E3FF

Accessibility & contrast

On white

3.23
#5F89FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5F89FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89FF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89FF#FFFFFF#000000##000000
##5F89FF1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E97FF
Deuteranopia (green-blind)
#3088FD
Tritanopia (blue-blind)
#00A4B8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f89ff;
/* rgb */ color: rgb(95, 137, 255);
/* oklch */ color: oklch(65.8% 0.181 266.7);
Tailwind
colors: {
  custom: {
    50: '#9aaaff',
    500: '#5f89ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f89ff;
$custom-light: #9aaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89ff",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 224.25,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.18085,
    "h": 266.7
  },
  "luminance": 0.27544
}

Semantic roles & 50–950 ramp

primary
#5F89FF
secondary
#F5E8C5
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F89FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5F89FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva