#5F84FB#5F84FB

#5F84FB is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.6% C 0.181 H 268.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5F84FB
RGBrgb(95, 132, 251)
HSLhsl(226, 95%, 68%)
HSVhsv(226, 62%, 98%)
CMYKcmyk(62.2%, 47.4%, 0%, 1.6%)
CIE-LABlab(57.94, 23.15, -63.39)
CIE-LCHlch(57.94, 67.48, 290.06°)
OKLaboklab(64.58% -0.0062 -0.1814)
OKLCHoklch(64.58% 0.181 268)
XYZxyz(30.3772, 25.8978, 94.6460)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84FB #FBD65F
analogous
#5FD2FB #5F84FB #885FFB
triadic
#5F84FB #FB5F84 #84FB5F
tetradic
#5F84FB #FB5FD2 #FBD65F #5FFB88
square
#5F84FB #FB5FD2 #FBD65F #5FFB88
split-complementary
#5F84FB #FB885F #D2FB5F
monochromatic
#0538DA #2356FA #5F84FB #9BB2FC #D6E0FE

Accessibility & contrast

On white

3.40
#5F84FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5F84FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84FB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84FB#FFFFFF#000000##000000
##5F84FB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#2785F9
Tritanopia (blue-blind)
#009FB3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f84fb;
/* rgb */ color: rgb(95, 132, 251);
/* oklch */ color: oklch(64.6% 0.181 268.0);
Tailwind
colors: {
  custom: {
    50: '#9aa7fd',
    500: '#5f84fb',
    950: '#000000',
  },
}
SCSS
$custom: #5f84fb;
$custom-light: #9aa7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84fb",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 225.769,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64579,
    "c": 0.18149,
    "h": 268
  },
  "luminance": 0.259
}

Semantic roles & 50–950 ramp

primary
#5F84FB
secondary
#F3E8C3
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F84FB

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

Preview Lab → · Contrast checker → · Palette generator →

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