#5F84F5#5F84F5

#5F84F5 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.2% C 0.173 H 267.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5F84F5
RGBrgb(95, 132, 245)
HSLhsl(225, 88%, 67%)
HSVhsv(225, 61%, 96%)
CMYKcmyk(61.2%, 46.1%, 0%, 3.9%)
CIE-LABlab(57.58, 21.15, -60.65)
CIE-LCHlch(57.58, 64.23, 289.23°)
OKLaboklab(64.19% -0.007 -0.1733)
OKLCHoklch(64.19% 0.173 267.7)
XYZxyz(29.4464, 25.5254, 89.7436)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84F5 #F5D05F
analogous
#5FCFF5 #5F84F5 #855FF5
triadic
#5F84F5 #F55F84 #84F55F
tetradic
#5F84F5 #F55FCF #F5D05F #5FF585
square
#5F84F5 #F55FCF #F5D05F #5FF585
split-complementary
#5F84F5 #F5855F #CFF55F
monochromatic
#0D3CCD #2558F1 #5F84F5 #99B0F9 #D2DDFC

Accessibility & contrast

On white

3.44
#5F84F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5F84F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84F5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84F5#FFFFFF#000000##000000
##5F84F51.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#3284F3
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f84f5;
/* rgb */ color: rgb(95, 132, 245);
/* oklch */ color: oklch(64.2% 0.173 267.7);
Tailwind
colors: {
  custom: {
    50: '#99a7f9',
    500: '#5f84f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f84f5;
$custom-light: #99a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84f5",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 245
  },
  "hsl": {
    "h": 225.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64192,
    "c": 0.17346,
    "h": 267.7
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#5F84F5
secondary
#F0E4C0
accent
#AD01E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F84F5

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

Preview Lab → · Contrast checker → · Palette generator →

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