#5F84E5#5F84E5

#5F84E5 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.2% C 0.152 H 266.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5F84E5
RGBrgb(95, 132, 229)
HSLhsl(223, 72%, 64%)
HSVhsv(223, 59%, 90%)
CMYKcmyk(58.5%, 42.4%, 0%, 10.2%)
CIE-LABlab(56.67, 15.87, -53.22)
CIE-LCHlch(56.67, 55.54, 286.61°)
OKLaboklab(63.2% -0.0095 -0.1515)
OKLCHoklch(63.2% 0.152 266.4)
XYZxyz(27.1086, 24.5903, 77.4314)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84E5 #E5C05F
analogous
#5FC7E5 #5F84E5 #7D5FE5
triadic
#5F84E5 #E55F84 #84E55F
tetradic
#5F84E5 #E55FC7 #E5C05F #5FE57D
square
#5F84E5 #E55FC7 #E5C05F #5FE57D
split-complementary
#5F84E5 #E57D5F #C7E55F
monochromatic
#1C44AD #2A5CDC #5F84E5 #94ACEE #C8D5F6

Accessibility & contrast

On white

3.55
#5F84E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5F84E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84E5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84E5#FFFFFF#000000##000000
##5F84E51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE9
Deuteranopia (green-blind)
#4682E3
Tritanopia (blue-blind)
#009AA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f84e5;
/* rgb */ color: rgb(95, 132, 229);
/* oklch */ color: oklch(63.2% 0.152 266.4);
Tailwind
colors: {
  custom: {
    50: '#97a7ee',
    500: '#5f84e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f84e5;
$custom-light: #97a7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84e5",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 229
  },
  "hsl": {
    "h": 223.433,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63201,
    "c": 0.15179,
    "h": 266.4
  },
  "luminance": 0.24593
}

Semantic roles & 50–950 ramp

primary
#5F84E5
secondary
#E8DBB8
accent
#9E11D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F84E5

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

Preview Lab → · Contrast checker → · Palette generator →

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