#5F84FC#5F84FC

#5F84FC is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.6% C 0.183 H 268.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5F84FC
RGBrgb(95, 132, 252)
HSLhsl(226, 96%, 68%)
HSVhsv(226, 62%, 99%)
CMYKcmyk(62.3%, 47.6%, 0%, 1.2%)
CIE-LABlab(58.00, 23.48, -63.84)
CIE-LCHlch(58.00, 68.03, 290.19°)
OKLaboklab(64.64% -0.0061 -0.1827)
OKLCHoklch(64.64% 0.183 268.1)
XYZxyz(30.5353, 25.9610, 95.4784)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84FC #FCD75F
analogous
#5FD2FC #5F84FC #885FFC
triadic
#5F84FC #FC5F84 #84FC5F
tetradic
#5F84FC #FC5FD2 #FCD75F #5FFC88
square
#5F84FC #FC5FD2 #FCD75F #5FFC88
split-complementary
#5F84FC #FC885F #D2FC5F
monochromatic
#0437DC #2356FB #5F84FC #9BB2FD #D7E0FE

Accessibility & contrast

On white

3.39
#5F84FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#5F84FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84FC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84FC#FFFFFF#000000##000000
##5F84FC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#2585FA
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f84fc;
/* rgb */ color: rgb(95, 132, 252);
/* oklch */ color: oklch(64.6% 0.183 268.1);
Tailwind
colors: {
  custom: {
    50: '#9aa7fe',
    500: '#5f84fc',
    950: '#000000',
  },
}
SCSS
$custom: #5f84fc;
$custom-light: #9aa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84fc",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 225.86,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64644,
    "c": 0.18282,
    "h": 268.1
  },
  "luminance": 0.25964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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