#5F87F3#5F87F3

#5F87F3 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.167 H 266.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5F87F3
RGBrgb(95, 135, 243)
HSLhsl(224, 86%, 66%)
HSVhsv(224, 61%, 95%)
CMYKcmyk(60.9%, 44.4%, 0%, 4.7%)
CIE-LABlab(58.25, 18.68, -58.47)
CIE-LCHlch(58.25, 61.38, 287.72°)
OKLaboklab(64.67% -0.0102 -0.1669)
OKLCHoklch(64.67% 0.167 266.5)
XYZxyz(29.5554, 26.2293, 88.2819)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F87F3 #F3CB5F
analogous
#5FD1F3 #5F87F3 #815FF3
triadic
#5F87F3 #F35F87 #87F35F
tetradic
#5F87F3 #F35FD1 #F3CB5F #5FF381
square
#5F87F3 #F35FD1 #F3CB5F #5FF381
split-complementary
#5F87F3 #F3815F #D1F35F
monochromatic
#0F41C9 #265CEF #5F87F3 #98B2F7 #D1DCFC

Accessibility & contrast

On white

3.36
#5F87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5F87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F87F3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F87F3#FFFFFF#000000##000000
##5F87F31.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F7
Deuteranopia (green-blind)
#3D86F1
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f87f3;
/* rgb */ color: rgb(95, 135, 243);
/* oklch */ color: oklch(64.7% 0.167 266.5);
Tailwind
colors: {
  custom: {
    50: '#99a9f8',
    500: '#5f87f3',
    950: '#000000',
  },
}
SCSS
$custom: #5f87f3;
$custom-light: #99a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f87f3",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 223.784,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64668,
    "c": 0.16719,
    "h": 266.5
  },
  "luminance": 0.26232
}

Semantic roles & 50–950 ramp

primary
#5F87F3
secondary
#EFE2BF
accent
#A603E3
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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