#5F8EF5#5F8EF5

#5F8EF5 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.162 H 264.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5F8EF5
RGBrgb(95, 142, 245)
HSLhsl(221, 88%, 67%)
HSVhsv(221, 61%, 96%)
CMYKcmyk(61.2%, 42%, 0%, 3.9%)
CIE-LABlab(60.22, 15.15, -56.43)
CIE-LCHlch(60.22, 58.43, 285.03°)
OKLaboklab(66.22% -0.0168 -0.1608)
OKLCHoklch(66.22% 0.162 264)
XYZxyz(30.8680, 28.3687, 90.2175)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EF5 #F5C65F
analogous
#5FD9F5 #5F8EF5 #7B5FF5
triadic
#5F8EF5 #F55F8E #8EF55F
tetradic
#5F8EF5 #F55FD9 #F5C65F #5FF57B
square
#5F8EF5 #F55FD9 #F5C65F #5FF57B
split-complementary
#5F8EF5 #F57B5F #D9F55F
monochromatic
#0D49CD #2565F1 #5F8EF5 #99B7F9 #D2DFFC

Accessibility & contrast

On white

3.15
#5F8EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5F8EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EF5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EF5#FFFFFF#000000##000000
##5F8EF51.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99F9
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f8ef5;
/* rgb */ color: rgb(95, 142, 245);
/* oklch */ color: oklch(66.2% 0.162 264.0);
Tailwind
colors: {
  custom: {
    50: '#99aef9',
    500: '#5f8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ef5;
$custom-light: #99aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ef5",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 221.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.16169,
    "h": 264
  },
  "luminance": 0.28371
}

Semantic roles & 50–950 ramp

primary
#5F8EF5
secondary
#F0E1C0
accent
#9D01E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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