#5F84EE#5F84EE

#5F84EE is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.8% C 0.164 H 267.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5F84EE
RGBrgb(95, 132, 238)
HSLhsl(224, 81%, 65%)
HSVhsv(224, 60%, 93%)
CMYKcmyk(60.1%, 44.5%, 0%, 6.7%)
CIE-LABlab(57.18, 18.84, -57.42)
CIE-LCHlch(57.18, 60.43, 288.16°)
OKLaboklab(63.75% -0.008 -0.1638)
OKLCHoklch(63.75% 0.164 267.2)
XYZxyz(28.3979, 25.1061, 84.2218)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84EE #EEC95F
analogous
#5FCBEE #5F84EE #825FEE
triadic
#5F84EE #EE5F84 #84EE5F
tetradic
#5F84EE #EE5FCB #EEC95F #5FEE82
square
#5F84EE #EE5FCB #EEC95F #5FEE82
split-complementary
#5F84EE #EE825F #CBEE5F
monochromatic
#1440BE #2859E8 #5F84EE #96AFF4 #CED9FA

Accessibility & contrast

On white

3.49
#5F84EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5F84EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84EE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84EE#FFFFFF#000000##000000
##5F84EE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f84ee;
/* rgb */ color: rgb(95, 132, 238);
/* oklch */ color: oklch(63.8% 0.164 267.2);
Tailwind
colors: {
  custom: {
    50: '#98a7f4',
    500: '#5f84ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f84ee;
$custom-light: #98a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84ee",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 238
  },
  "hsl": {
    "h": 224.476,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63752,
    "c": 0.16403,
    "h": 267.2
  },
  "luminance": 0.25108
}

Semantic roles & 50–950 ramp

primary
#5F84EE
secondary
#ECE0BC
accent
#A608DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F84EE

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

Preview Lab → · Contrast checker → · Palette generator →

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