#5F89FB#5F89FB

#5F89FB is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.6% C 0.176 H 266.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5F89FB
RGBrgb(95, 137, 251)
HSLhsl(224, 95%, 68%)
HSVhsv(224, 62%, 98%)
CMYKcmyk(62.2%, 45.4%, 0%, 1.6%)
CIE-LABlab(59.24, 20.13, -61.31)
CIE-LCHlch(59.24, 64.53, 288.18°)
OKLaboklab(65.57% -0.011 -0.1752)
OKLCHoklch(65.57% 0.176 266.4)
XYZxyz(31.0716, 27.2865, 94.8775)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89FB #FBD15F
analogous
#5FD7FB #5F89FB #835FFB
triadic
#5F89FB #FB5F89 #89FB5F
tetradic
#5F89FB #FB5FD7 #FBD15F #5FFB83
square
#5F89FB #FB5FD7 #FBD15F #5FFB83
split-complementary
#5F89FB #FB835F #D7FB5F
monochromatic
#053FDA #235DFA #5F89FB #9BB5FC #D6E1FE

Accessibility & contrast

On white

3.25
#5F89FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5F89FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89FB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89FB#FFFFFF#000000##000000
##5F89FB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#3688F9
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f89fb;
/* rgb */ color: rgb(95, 137, 251);
/* oklch */ color: oklch(65.6% 0.176 266.4);
Tailwind
colors: {
  custom: {
    50: '#9aaafd',
    500: '#5f89fb',
    950: '#000000',
  },
}
SCSS
$custom: #5f89fb;
$custom-light: #9aaafd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89fb",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 223.846,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6557,
    "c": 0.17553,
    "h": 266.4
  },
  "luminance": 0.27289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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