#5F89FD#5F89FD

#5F89FD is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.7% C 0.178 H 266.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5F89FD
RGBrgb(95, 137, 253)
HSLhsl(224, 98%, 68%)
HSVhsv(224, 62%, 99%)
CMYKcmyk(62.5%, 45.8%, 0%, 0.8%)
CIE-LABlab(59.35, 20.80, -62.22)
CIE-LCHlch(59.35, 65.60, 288.48°)
OKLaboklab(65.7% -0.0107 -0.1779)
OKLCHoklch(65.7% 0.178 266.6)
XYZxyz(31.3885, 27.4132, 96.5466)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89FD #FDD35F
analogous
#5FD8FD #5F89FD #845FFD
triadic
#5F89FD #FD5F89 #89FD5F
tetradic
#5F89FD #FD5FD8 #FDD35F #5FFD84
square
#5F89FD #FD5FD8 #FDD35F #5FFD84
split-complementary
#5F89FD #FD845F #D8FD5F
monochromatic
#033DDF #235CFC #5F89FD #9BB6FE #D8E2FF

Accessibility & contrast

On white

3.24
#5F89FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5F89FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89FD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89FD#FFFFFF#000000##000000
##5F89FD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#3388FB
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f89fd;
/* rgb */ color: rgb(95, 137, 253);
/* oklch */ color: oklch(65.7% 0.178 266.6);
Tailwind
colors: {
  custom: {
    50: '#9aaaff',
    500: '#5f89fd',
    950: '#000000',
  },
}
SCSS
$custom: #5f89fd;
$custom-light: #9aaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89fd",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 224.051,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65697,
    "c": 0.17819,
    "h": 266.6
  },
  "luminance": 0.27416
}

Semantic roles & 50–950 ramp

primary
#5F89FD
secondary
#F4E7C4
accent
#A800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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