#5F84EA#5F84EA

#5F84EA is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.5% C 0.159 H 266.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5F84EA
RGBrgb(95, 132, 234)
HSLhsl(224, 77%, 65%)
HSVhsv(224, 59%, 92%)
CMYKcmyk(59.4%, 43.6%, 0%, 8.2%)
CIE-LABlab(56.95, 17.52, -55.56)
CIE-LCHlch(56.95, 58.26, 287.50°)
OKLaboklab(63.51% -0.0086 -0.1584)
OKLCHoklch(63.51% 0.159 266.9)
XYZxyz(27.8168, 24.8736, 81.1612)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84EA #EAC55F
analogous
#5FC9EA #5F84EA #805FEA
triadic
#5F84EA #EA5F84 #84EA5F
tetradic
#5F84EA #EA5FC9 #EAC55F #5FEA80
square
#5F84EA #EA5FC9 #EAC55F #5FEA80
split-complementary
#5F84EA #EA805F #C9EA5F
monochromatic
#1842B7 #295AE3 #5F84EA #95AEF1 #CBD7F8

Accessibility & contrast

On white

3.51
#5F84EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5F84EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84EA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84EA#FFFFFF#000000##000000
##5F84EA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f84ea;
/* rgb */ color: rgb(95, 132, 234);
/* oklch */ color: oklch(63.5% 0.159 266.9);
Tailwind
colors: {
  custom: {
    50: '#97a7f1',
    500: '#5f84ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f84ea;
$custom-light: #97a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84ea",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 224.029,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63505,
    "c": 0.15861,
    "h": 266.9
  },
  "luminance": 0.24876
}

Semantic roles & 50–950 ramp

primary
#5F84EA
secondary
#EADEBA
accent
#A30CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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