#5F84ED#5F84ED

#5F84ED is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.7% C 0.163 H 267.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5F84ED
RGBrgb(95, 132, 237)
HSLhsl(224, 80%, 65%)
HSVhsv(224, 60%, 93%)
CMYKcmyk(59.9%, 44.3%, 0%, 7.1%)
CIE-LABlab(57.12, 18.51, -56.96)
CIE-LCHlch(57.12, 59.89, 288.00°)
OKLaboklab(63.69% -0.0082 -0.1625)
OKLCHoklch(63.69% 0.163 267.1)
XYZxyz(28.2514, 25.0475, 83.4502)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84ED #EDC85F
analogous
#5FCBED #5F84ED #815FED
triadic
#5F84ED #ED5F84 #84ED5F
tetradic
#5F84ED #ED5FCB #EDC85F #5FED81
square
#5F84ED #ED5FCB #EDC85F #5FED81
split-complementary
#5F84ED #ED815F #CBED5F
monochromatic
#1541BC #285AE7 #5F84ED #96AEF3 #CDD9F9

Accessibility & contrast

On white

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

On black

6.01
#5F84ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84ED
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84ED#FFFFFF#000000##000000
##5F84ED1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F1
Deuteranopia (green-blind)
#3E83EB
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f84ed;
/* rgb */ color: rgb(95, 132, 237);
/* oklch */ color: oklch(63.7% 0.163 267.1);
Tailwind
colors: {
  custom: {
    50: '#98a7f3',
    500: '#5f84ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f84ed;
$custom-light: #98a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84ed",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 237
  },
  "hsl": {
    "h": 224.366,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6369,
    "c": 0.16267,
    "h": 267.1
  },
  "luminance": 0.2505
}

Semantic roles & 50–950 ramp

primary
#5F84ED
secondary
#ECDFBC
accent
#A509DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F84ED

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

Preview Lab → · Contrast checker → · Palette generator →

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