#5F84F9#5F84F9

#5F84F9 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.179 H 267.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5F84F9
RGBrgb(95, 132, 249)
HSLhsl(226, 93%, 67%)
HSVhsv(226, 62%, 98%)
CMYKcmyk(61.8%, 47%, 0%, 2.4%)
CIE-LABlab(57.82, 22.48, -62.48)
CIE-LCHlch(57.82, 66.40, 289.79°)
OKLaboklab(64.45% -0.0064 -0.1787)
OKLCHoklch(64.45% 0.179 267.9)
XYZxyz(30.0636, 25.7723, 92.9944)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84F9 #F9D45F
analogous
#5FD1F9 #5F84F9 #875FF9
triadic
#5F84F9 #F95F84 #84F95F
tetradic
#5F84F9 #F95FD1 #F9D45F #5FF987
square
#5F84F9 #F95FD1 #F9D45F #5FF987
split-complementary
#5F84F9 #F9875F #D1F95F
monochromatic
#0839D6 #2457F7 #5F84F9 #9AB1FB #D5DFFD

Accessibility & contrast

On white

3.41
#5F84F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5F84F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84F9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84F9#FFFFFF#000000##000000
##5F84F91.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#2B84F7
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f84f9;
/* rgb */ color: rgb(95, 132, 249);
/* oklch */ color: oklch(64.4% 0.179 267.9);
Tailwind
colors: {
  custom: {
    50: '#9aa7fc',
    500: '#5f84f9',
    950: '#000000',
  },
}
SCSS
$custom: #5f84f9;
$custom-light: #9aa7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84f9",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 225.584,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64449,
    "c": 0.17882,
    "h": 267.9
  },
  "luminance": 0.25775
}

Semantic roles & 50–950 ramp

primary
#5F84F9
secondary
#F2E6C2
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F84F9

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

Preview Lab → · Contrast checker → · Palette generator →

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