#5F84F1#5F84F1

#5F84F1 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.9% C 0.168 H 267.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5F84F1
RGBrgb(95, 132, 241)
HSLhsl(225, 84%, 66%)
HSVhsv(225, 61%, 95%)
CMYKcmyk(60.6%, 45.2%, 0%, 5.5%)
CIE-LABlab(57.35, 19.83, -58.81)
CIE-LCHlch(57.35, 62.06, 288.63°)
OKLaboklab(63.94% -0.0075 -0.1679)
OKLCHoklch(63.94% 0.168 267.4)
XYZxyz(28.8424, 25.2838, 86.5624)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84F1 #F1CC5F
analogous
#5FCDF1 #5F84F1 #835FF1
triadic
#5F84F1 #F15F84 #84F15F
tetradic
#5F84F1 #F15FCD #F1CC5F #5FF183
square
#5F84F1 #F15FCD #F1CC5F #5FF183
split-complementary
#5F84F1 #F1835F #CDF15F
monochromatic
#113FC4 #2759EC #5F84F1 #97AFF6 #D0DBFB

Accessibility & contrast

On white

3.47
#5F84F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5F84F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84F1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84F1#FFFFFF#000000##000000
##5F84F11.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F5
Deuteranopia (green-blind)
#3884EF
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f84f1;
/* rgb */ color: rgb(95, 132, 241);
/* oklch */ color: oklch(63.9% 0.168 267.4);
Tailwind
colors: {
  custom: {
    50: '#98a7f6',
    500: '#5f84f1',
    950: '#000000',
  },
}
SCSS
$custom: #5f84f1;
$custom-light: #98a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84f1",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 241
  },
  "hsl": {
    "h": 224.795,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63939,
    "c": 0.16808,
    "h": 267.4
  },
  "luminance": 0.25286
}

Semantic roles & 50–950 ramp

primary
#5F84F1
secondary
#EEE2BE
accent
#A905E0
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F84F1

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

Preview Lab → · Contrast checker → · Palette generator →

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