#5F84FE#5F84FE

#5F84FE is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.8% C 0.185 H 268.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5F84FE
RGBrgb(95, 132, 254)
HSLhsl(226, 99%, 68%)
HSVhsv(226, 63%, 100%)
CMYKcmyk(62.6%, 48%, 0%, 0.4%)
CIE-LABlab(58.12, 24.15, -64.75)
CIE-LCHlch(58.12, 69.11, 290.45°)
OKLaboklab(64.78% -0.0058 -0.1854)
OKLCHoklch(64.78% 0.185 268.2)
XYZxyz(30.8539, 26.0884, 97.1563)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84FE #FED95F
analogous
#5FD3FE #5F84FE #895FFE
triadic
#5F84FE #FE5F84 #84FE5F
tetradic
#5F84FE #FE5FD3 #FED95F #5FFE89
square
#5F84FE #FE5FD3 #FED95F #5FFE89
split-complementary
#5F84FE #FE895F #D3FE5F
monochromatic
#0135E1 #2255FE #5F84FE #9CB3FE #D9E2FF

Accessibility & contrast

On white

3.38
#5F84FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#5F84FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84FE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84FE#FFFFFF#000000##000000
##5F84FE1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#2085FB
Tritanopia (blue-blind)
#00A0B5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f84fe;
/* rgb */ color: rgb(95, 132, 254);
/* oklch */ color: oklch(64.8% 0.185 268.2);
Tailwind
colors: {
  custom: {
    50: '#9aa7ff',
    500: '#5f84fe',
    950: '#000000',
  },
}
SCSS
$custom: #5f84fe;
$custom-light: #9aa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84fe",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 226.038,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64775,
    "c": 0.18547,
    "h": 268.2
  },
  "luminance": 0.26091
}

Semantic roles & 50–950 ramp

primary
#5F84FE
secondary
#F4E9C4
accent
#B000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F84FE

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

Preview Lab → · Contrast checker → · Palette generator →

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