#5F89FE#5F89FE

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

Color values

HEX#5F89FE
RGBrgb(95, 137, 254)
HSLhsl(224, 99%, 68%)
HSVhsv(224, 63%, 100%)
CMYKcmyk(62.6%, 46.1%, 0%, 0.4%)
CIE-LABlab(59.41, 21.13, -62.68)
CIE-LCHlch(59.41, 66.14, 288.63°)
OKLaboklab(65.76% -0.0105 -0.1792)
OKLCHoklch(65.76% 0.18 266.6)
XYZxyz(31.5482, 27.4771, 97.3878)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89FE #FED45F
analogous
#5FD8FE #5F89FE #845FFE
triadic
#5F89FE #FE5F89 #89FE5F
tetradic
#5F89FE #FE5FD8 #FED45F #5FFE84
square
#5F89FE #FE5FD8 #FED45F #5FFE84
split-complementary
#5F89FE #FE845F #D8FE5F
monochromatic
#013DE1 #225CFE #5F89FE #9CB6FE #D9E3FF

Accessibility & contrast

On white

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

On black

6.50
#5F89FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89FE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89FE#FFFFFF#000000##000000
##5F89FE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#3288FC
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f89fe;
/* rgb */ color: rgb(95, 137, 254);
/* oklch */ color: oklch(65.8% 0.180 266.6);
Tailwind
colors: {
  custom: {
    50: '#9aaaff',
    500: '#5f89fe',
    950: '#000000',
  },
}
SCSS
$custom: #5f89fe;
$custom-light: #9aaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89fe",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 224.151,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.17952,
    "h": 266.6
  },
  "luminance": 0.2748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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