#5F87FD#5F87FD

#5F87FD is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.181 H 267.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5F87FD
RGBrgb(95, 135, 253)
HSLhsl(225, 98%, 68%)
HSVhsv(225, 62%, 99%)
CMYKcmyk(62.5%, 46.6%, 0%, 0.8%)
CIE-LABlab(58.84, 22.00, -63.05)
CIE-LCHlch(58.84, 66.78, 289.24°)
OKLaboklab(65.3% -0.0088 -0.1803)
OKLCHoklch(65.3% 0.181 267.2)
XYZxyz(31.1068, 26.8499, 96.4527)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F87FD #FDD55F
analogous
#5FD6FD #5F87FD #865FFD
triadic
#5F87FD #FD5F87 #87FD5F
tetradic
#5F87FD #FD5FD6 #FDD55F #5FFD86
square
#5F87FD #FD5FD6 #FDD55F #5FFD86
split-complementary
#5F87FD #FD865F #D6FD5F
monochromatic
#033ADF #235AFC #5F87FD #9BB4FE #D8E2FF

Accessibility & contrast

On white

3.30
#5F87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5F87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F87FD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F87FD#FFFFFF#000000##000000
##5F87FD1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#2D87FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f87fd;
/* rgb */ color: rgb(95, 135, 253);
/* oklch */ color: oklch(65.3% 0.181 267.2);
Tailwind
colors: {
  custom: {
    50: '#9aa9ff',
    500: '#5f87fd',
    950: '#000000',
  },
}
SCSS
$custom: #5f87fd;
$custom-light: #9aa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f87fd",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 224.81,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.653,
    "c": 0.18056,
    "h": 267.2
  },
  "luminance": 0.26853
}

Semantic roles & 50–950 ramp

primary
#5F87FD
secondary
#F4E8C4
accent
#AB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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